Wrapper of System.TimeSpan for serialization, the precision is seconds.
More...
Public Member Functions | |
| TimeSpanField (in TimeSpan value) | |
Initialize with the specified System.TimeSpan. More... | |
| override string | ToString () |
| Return the time span text. More... | |
Static Public Member Functions | |
| static implicit | operator TimeSpanField (TimeSpan value) |
Convert the specified System.TimeSpan to TimeSpanField. More... | |
| static implicit | operator TimeSpan (TimeSpanField value) |
Convert the specified TimeSpanField to System.TimeSpan. More... | |
Public Attributes | |
| long | tick |
| The number of ticks. More... | |
Wrapper of System.TimeSpan for serialization, the precision is seconds.
| TimeSpanField | ( | in TimeSpan | value | ) |
Initialize with the specified System.TimeSpan.
| value | The time span. |
| override string ToString | ( | ) |
Return the time span text.
string represents this.
|
static |
|
static |
Convert the specified TimeSpanField to System.TimeSpan.
| value | The span field. |
| long tick |
The number of ticks.