Wrapper of System.DateTime
for serialization, the precision is seconds.
More...
Public Member Functions | |
DateTimeField (in DateTime value) | |
Initialize with the specified System.DateTime . More... | |
override string | ToString () |
Return the date time text. More... | |
Static Public Member Functions | |
static implicit | operator DateTimeField (DateTime value) |
Convert the specified System.DateTime to DateTimeField . More... | |
static implicit | operator DateTime (DateTimeField value) |
Convert the specified DateTimeField to System.DateTime . More... | |
Public Attributes | |
DateTimeKind | kind |
Based on UTC or local. More... | |
long | tick |
The number of ticks. More... | |
Wrapper of System.DateTime
for serialization, the precision is seconds.
DateTimeField | ( | in DateTime | value | ) |
Initialize with the specified System.DateTime
.
value | The date time. |
override string ToString | ( | ) |
Return the date time text.
string
represents this.
|
static |
|
static |
Convert the specified DateTimeField
to System.DateTime
.
value | The time field. |
DateTimeKind kind |
Based on UTC or local.
long tick |
The number of ticks.