package cs.system
extends ValueType
implements IComparable_1<DateTime>, IEquatable_1<DateTime>, IComparable, IConvertible, IFormattable, ISerializable
Available on cs new (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:DateTimeread only Day:Intread only DayOfWeek:DayOfWeekread only DayOfYear:Intread only Hour:Intread only Kind:DateTimeKindread only Millisecond:Intread only Minute:Intread only Month:Intread only Second:Intread only Ticks:Int64read only TimeOfDay:TimeSpanread 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:DateTimestatic read only Now:DateTimestatic read only Today:DateTimestatic 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