DateTime
ValueType → cs.system.DateTime (extern final class)
Implements: IComparable_1, IEquatable_1, IComparable, IConvertible, IFormattable, cs.system.runtime.serialization.ISerializable
Static Members
UtcNow: DateTime
Today: DateTime
Now: DateTime
MinValue: DateTime
MaxValue: DateTime
Name | Type |
---|---|
t1 |
DateTime |
t2 |
DateTime |
Returns |
---|
Int |
FromBinary(dateData: haxe.Int64): DateTime
Name | Type |
---|---|
dateData |
haxe.Int64 |
Returns |
---|
DateTime |
Name | Type |
---|---|
value |
DateTime |
kind |
Anonymous |
Returns |
---|
DateTime |
Name | Type |
---|---|
year |
Int |
month |
Int |
Returns |
---|
Int |
FromFileTime(fileTime: haxe.Int64): DateTime
Name | Type |
---|---|
fileTime |
haxe.Int64 |
Returns |
---|
DateTime |
FromFileTimeUtc(fileTime: haxe.Int64): DateTime
Name | Type |
---|---|
fileTime |
haxe.Int64 |
Returns |
---|
DateTime |
Name | Type |
---|---|
d |
Float |
Returns |
---|
DateTime |
Name | Type |
---|---|
year |
Int |
Returns |
---|
Bool |
Name | Type |
---|---|
s |
String |
Returns |
---|
DateTime |
ParseExact(s: String, format: String, provider: IFormatProvider): DateTime
Name | Type |
---|---|
s |
String |
format |
String |
provider |
IFormatProvider |
Returns |
---|
DateTime |
Name | Type |
---|---|
s |
String |
result |
cs.Out |
Returns |
---|
Bool |
TryParseExact(s: String, format: String, provider: IFormatProvider, style: Anonymous, result: cs.Out): Bool
Name | Type |
---|---|
s |
String |
format |
String |
provider |
IFormatProvider |
style |
Anonymous |
result |
cs.Out |
Returns |
---|
Bool |
Name | Type |
---|---|
d |
DateTime |
t |
TimeSpan |
Returns |
---|
DateTime |
Name | Type |
---|---|
d1 |
DateTime |
d2 |
DateTime |
Returns |
---|
Bool |
Name | Type |
---|---|
t1 |
DateTime |
t2 |
DateTime |
Returns |
---|
Bool |
Name | Type |
---|---|
t1 |
DateTime |
t2 |
DateTime |
Returns |
---|
Bool |
Name | Type |
---|---|
d1 |
DateTime |
d2 |
DateTime |
Returns |
---|
Bool |
Name | Type |
---|---|
t1 |
DateTime |
t2 |
DateTime |
Returns |
---|
Bool |
Name | Type |
---|---|
t1 |
DateTime |
t2 |
DateTime |
Returns |
---|
Bool |
Name | Type |
---|---|
d1 |
DateTime |
d2 |
DateTime |
Returns |
---|
TimeSpan |
Instance Members
Year: Int
Ticks: haxe.Int64
Millisecond: Int
Second: Int
Minute: Int
Hour: Int
TimeOfDay: TimeSpan
DayOfYear: Int
Day: Int
Month: Int
Date: DateTime
Name | Type |
---|---|
value |
TimeSpan |
Returns |
---|
DateTime |
Name | Type |
---|---|
value |
Float |
Returns |
---|
DateTime |
AddTicks(value: haxe.Int64): DateTime
Name | Type |
---|---|
value |
haxe.Int64 |
Returns |
---|
DateTime |
Name | Type |
---|---|
value |
Float |
Returns |
---|
DateTime |
Name | Type |
---|---|
value |
Float |
Returns |
---|
DateTime |
Name | Type |
---|---|
value |
Float |
Returns |
---|
DateTime |
Name | Type |
---|---|
months |
Int |
Returns |
---|
DateTime |
Name | Type |
---|---|
value |
Float |
Returns |
---|
DateTime |
Name | Type |
---|---|
value |
Int |
Returns |
---|
DateTime |
Name | Type |
---|---|
value |
Dynamic |
Returns |
---|
Int |
IsDaylightSavingTime(): Bool
Returns |
---|
Bool |
ToBinary(): haxe.Int64
Returns |
---|
haxe.Int64 |
GetDateTimeFormats(): cs.NativeArray<String>
Returns |
---|
cs.NativeArray<String> |
Returns |
---|
Anonymous |
Name | Type |
---|---|
value |
DateTime |
Returns |
---|
TimeSpan |
ToFileTime(): haxe.Int64
Returns |
---|
haxe.Int64 |
ToFileTimeUtc(): haxe.Int64
Returns |
---|
haxe.Int64 |
ToLongDateString(): String
Returns |
---|
String |
ToLongTimeString(): String
Returns |
---|
String |
ToOADate(): Float
Returns |
---|
Float |
ToShortDateString(): String
Returns |
---|
String |
ToShortTimeString(): String
Returns |
---|
String |
ToString(): String
Returns |
---|
String |
ToLocalTime(): DateTime
Returns |
---|
DateTime |
ToUniversalTime(): DateTime
Returns |
---|
DateTime |
new(ticks: haxe.Int64): Void
Name | Type |
---|---|
ticks |
haxe.Int64 |
Metadata
Name | Parameters |
---|---|
:nativeGen |
- |
:struct |
- |
:libType |
- |
:csNative |
- |