Static variables

Static methods

staticfromordinal(ordinal:Int):Datetime

@:value({ tzInfo : null })staticfromtimestamp(timestamp:Float, ?tzInfo:Tzinfo):Datetime

staticnow(?tzinfo:Tzinfo):Datetime

statictoday():Datetime

staticutcfromtimestamp(timestamp:Int):Datetime

Constructor

@:value({ tzinfo : null, microsecond : 0, second : 0, minute : 0, hour : 0 })new(year:Int, month:Int, day:Int, hour:Int = 0, minute:Int = 0, second:Int = 0, microsecond:Int = 0, ?tzinfo:Tzinfo)

Variables

Methods

replace(kwargs:KwArgs<{year:Null<Int>, tzinfo:Null<Tzinfo>, second:Null<Int>, month:Null<Int>, minute:Null<Int>, microsecond:Null<Int>, hour:Null<Int>, day:Null<Int>}>):Datetime