package cs.system
extends ValueType
implements IComparable_1<DateTime>, IEquatable_1<DateTime>, IComparable, IConvertible, IFormattable, ISerializable
Available on csnew (ticks:Int64)
new (year:Int, month:Int, day:Int, hour:Int, minute:Int, second:Int, millisecond:Int, calendar:Calendar, kind:DateTimeKind)
new (year:Int, month:Int, day:Int, hour:Int, minute:Int, second:Int, millisecond:Int, kind:DateTimeKind)
new (year:Int, month:Int, day:Int, hour:Int, minute:Int, second:Int, kind:DateTimeKind)
new (ticks:Int64, kind:DateTimeKind)
new (year:Int, month:Int, day:Int, hour:Int, minute:Int, second:Int, millisecond:Int, calendar:Calendar)
new (year:Int, month:Int, day:Int, hour:Int, minute:Int, second:Int, calendar:Calendar)
new (year:Int, month:Int, day:Int, calendar:Calendar)
new (year:Int, month:Int, day:Int, hour:Int, minute:Int, second:Int, millisecond:Int)
new (year:Int, month:Int, day:Int, hour:Int, minute:Int, second:Int)
new (year:Int, month:Int, day:Int)
read only Date:DateTime
read only Day:Int
read only DayOfWeek:DayOfWeek
read only DayOfYear:Int
read only Hour:Int
read only Kind:DateTimeKind
read only Millisecond:Int
read only Minute:Int
read only Month:Int
read only Second:Int
read only Ticks:Int64
read only TimeOfDay:TimeSpan
read only Year:Int
Add (value:TimeSpan):DateTime
AddDays (value:Float):DateTime
AddHours (value:Float):DateTime
AddMilliseconds (value:Float):DateTime
AddMinutes (value:Float):DateTime
AddMonths (months:Int):DateTime
AddSeconds (value:Float):DateTime
AddTicks (value:Int64):DateTime
AddYears (value:Int):DateTime
CompareTo (value:Dynamic):Int
CompareTo (value:DateTime):Int
GetDateTimeFormats ():NativeArray<String>
GetDateTimeFormats (format:Char16, provider:IFormatProvider):NativeArray<String>
GetDateTimeFormats (provider:IFormatProvider):NativeArray<String>
GetDateTimeFormats (format:Char16):NativeArray<String>
GetTypeCode ():TypeCode
IsDaylightSavingTime ():Bool
Subtract (value:DateTime):TimeSpan
Subtract (value:TimeSpan):DateTime
ToBinary ():Int64
ToFileTime ():Int64
ToFileTimeUtc ():Int64
ToLocalTime ():DateTime
ToLongDateString ():String
ToLongTimeString ():String
ToOADate ():Float
ToShortDateString ():String
ToShortTimeString ():String
ToUniversalTime ():DateTime
static read only MaxValue:DateTime
static read only MinValue:DateTime
static read only Now:DateTime
static read only Today:DateTime
static read only UtcNow:DateTime
static Compare (t1:DateTime, t2:DateTime):Int
static DaysInMonth (year:Int, month:Int):Int
static FromBinary (dateData:Int64):DateTime
static FromFileTime (fileTime:Int64):DateTime
static FromFileTimeUtc (fileTime:Int64):DateTime
static FromOADate (d:Float):DateTime
static IsLeapYear (year:Int):Bool
static Parse (s:String):DateTime
static Parse (s:String, provider:IFormatProvider, styles:DateTimeStyles):DateTime
static Parse (s:String, provider:IFormatProvider):DateTime
static ParseExact (s:String, format:String, provider:IFormatProvider):DateTime
static ParseExact (s:String, formats:NativeArray<String>, provider:IFormatProvider, style:DateTimeStyles):DateTime
static ParseExact (s:String, format:String, provider:IFormatProvider, style:DateTimeStyles):DateTime
static SpecifyKind (value:DateTime, kind:DateTimeKind):DateTime
static TryParse (s:String, result:Out<DateTime>):Bool
static TryParse (s:String, provider:IFormatProvider, styles:DateTimeStyles, result:Out<DateTime>):Bool
static TryParseExact (s:String, format:String, provider:IFormatProvider, style:DateTimeStyles, result:Out<DateTime>):Bool
static TryParseExact (s:String, formats:NativeArray<String>, provider:IFormatProvider, style:DateTimeStyles, result:Out<DateTime>):Bool
static _Equals (t1:DateTime, t2:DateTime):Bool
static op_Addition (d:DateTime, t:TimeSpan):DateTime
static op_Equality (d1:DateTime, d2:DateTime):Bool
static op_GreaterThan (t1:DateTime, t2:DateTime):Bool
static op_GreaterThanOrEqual (t1:DateTime, t2:DateTime):Bool
static op_Inequality (d1:DateTime, d2:DateTime):Bool
static op_LessThan (t1:DateTime, t2:DateTime):Bool
static op_LessThanOrEqual (t1:DateTime, t2:DateTime):Bool
static op_Subtraction (d1:DateTime, d2:DateTime):TimeSpan
static op_Subtraction (d:DateTime, t:TimeSpan):DateTime
© 2005–2018 Haxe Foundation
Licensed under a MIT license.
https://api.haxe.org/cs/system/DateTime.html