Static variables

@:readOnlystaticread onlyMaxValue:DateTime

@:readOnlystaticread onlyMinValue:DateTime

staticread onlyNow:DateTime

staticread onlyToday:DateTime

staticread onlyUtcNow:DateTime

Static methods

@:overloadstaticfinalCompare(t1:DateTime, t2:DateTime):Int

@:overloadstaticfinalDaysInMonth(year:Int, month:Int):Int

@:overloadstaticfinalFromBinary(dateData:Int64):DateTime

@:overloadstaticfinalFromFileTime(fileTime:Int64):DateTime

@:overloadstaticfinalFromFileTimeUtc(fileTime:Int64):DateTime

@:overloadstaticfinalFromOADate(d:Float):DateTime

@:overloadstaticfinalIsLeapYear(year:Int):Bool

@:overloadstaticfinalParse(s:String):DateTime

@:overloadstaticfinalParse(s:String, provider:IFormatProvider, styles:DateTimeStyles):DateTime

@:overloadstaticfinalParse(s:String, provider:IFormatProvider):DateTime

@:overloadstaticfinalParseExact(s:String, format:String, provider:IFormatProvider):DateTime

@:overloadstaticfinalParseExact(s:String, formats:NativeArray<String>, provider:IFormatProvider, style:DateTimeStyles):DateTime

@:overloadstaticfinalParseExact(s:String, format:String, provider:IFormatProvider, style:DateTimeStyles):DateTime

@:overloadstaticfinalSpecifyKind(value:DateTime, kind:DateTimeKind):DateTime

@:overloadstaticfinalTryParse(s:String, result:Out<DateTime>):Bool

@:overloadstaticfinalTryParse(s:String, provider:IFormatProvider, styles:DateTimeStyles, result:Out<DateTime>):Bool

@:overloadstaticfinalTryParseExact(s:String, format:String, provider:IFormatProvider, style:DateTimeStyles, result:Out<DateTime>):Bool

@:overloadstaticfinalTryParseExact(s:String, formats:NativeArray<String>, provider:IFormatProvider, style:DateTimeStyles, result:Out<DateTime>):Bool

@:native("Equals")@:overloadstaticfinal_Equals(t1:DateTime, t2:DateTime):Bool

@:overloadstaticfinalop_Addition(d:DateTime, t:TimeSpan):DateTime

@:overloadstaticfinalop_Equality(d1:DateTime, d2:DateTime):Bool

@:overloadstaticfinalop_GreaterThan(t1:DateTime, t2:DateTime):Bool

@:overloadstaticfinalop_GreaterThanOrEqual(t1:DateTime, t2:DateTime):Bool

@:overloadstaticfinalop_Inequality(d1:DateTime, d2:DateTime):Bool

@:overloadstaticfinalop_LessThan(t1:DateTime, t2:DateTime):Bool

@:overloadstaticfinalop_LessThanOrEqual(t1:DateTime, t2:DateTime):Bool

@:overloadstaticfinalop_Subtraction(d1:DateTime, d2:DateTime):TimeSpan

@:overloadstaticfinalop_Subtraction(d:DateTime, t:TimeSpan):DateTime

Constructor

@:overloadfinalnew(ticks:Int64)

@:overloadfinalnew(year:Int, month:Int, day:Int, hour:Int, minute:Int, second:Int, millisecond:Int, calendar:Calendar, kind:DateTimeKind)

@:overloadfinalnew(year:Int, month:Int, day:Int, hour:Int, minute:Int, second:Int, millisecond:Int, kind:DateTimeKind)

@:overloadfinalnew(year:Int, month:Int, day:Int, hour:Int, minute:Int, second:Int, kind:DateTimeKind)

@:overloadfinalnew(ticks:Int64, kind:DateTimeKind)

@:overloadfinalnew(year:Int, month:Int, day:Int, hour:Int, minute:Int, second:Int, millisecond:Int, calendar:Calendar)

@:overloadfinalnew(year:Int, month:Int, day:Int, hour:Int, minute:Int, second:Int, calendar:Calendar)

@:overloadfinalnew(year:Int, month:Int, day:Int, calendar:Calendar)

@:overloadfinalnew(year:Int, month:Int, day:Int, hour:Int, minute:Int, second:Int, millisecond:Int)

@:overloadfinalnew(year:Int, month:Int, day:Int, hour:Int, minute:Int, second:Int)

@:overloadfinalnew(year:Int, month:Int, day:Int)

Variables

read onlyDate:DateTime

read onlyDay:Int

read onlyDayOfYear:Int

read onlyHour:Int

read onlyMillisecond:Int

read onlyMinute:Int

read onlyMonth:Int

read onlySecond:Int

read onlyTicks:Int64

read onlyYear:Int

Methods

@:overloadfinalAdd(value:TimeSpan):DateTime

@:overloadfinalAddDays(value:Float):DateTime

@:overloadfinalAddHours(value:Float):DateTime

@:overloadfinalAddMilliseconds(value:Float):DateTime

@:overloadfinalAddMinutes(value:Float):DateTime

@:overloadfinalAddMonths(months:Int):DateTime

@:overloadfinalAddSeconds(value:Float):DateTime

@:overloadfinalAddTicks(value:Int64):DateTime

@:overloadfinalAddYears(value:Int):DateTime

@:overloadfinalCompareTo(value:Dynamic):Int

@:overloadfinalCompareTo(value:DateTime):Int

@:overloadfinalGetTypeCode():TypeCode

@:overloadfinalIsDaylightSavingTime():Bool

@:overloadfinalSubtract(value:DateTime):TimeSpan

@:overloadfinalSubtract(value:TimeSpan):DateTime

@:overloadfinalToBinary():Int64

@:overloadfinalToFileTime():Int64

@:overloadfinalToFileTimeUtc():Int64

@:overloadfinalToLocalTime():DateTime

@:overloadfinalToLongDateString():String

@:overloadfinalToLongTimeString():String

@:overloadfinalToOADate():Float

@:overloadfinalToShortDateString():String

@:overloadfinalToShortTimeString():String

@:overloadfinalToUniversalTime():DateTime

Inherited Variables

Inherited Methods