UTC timestamp that unique in current process. More...
Public Member Functions | |
| UniqueTimestamp () | |
| Create a unique timestamp that closes to now in current process. More... | |
Static Public Member Functions | |
| static void | AtLeast (DateTime value) |
| Check to extend the min timestamp at least equals or greater than the specified time. More... | |
| static implicit | operator DateTime (UniqueTimestamp timestamp) |
Convert the specified timestamp to System.DateTime. More... | |
Public Attributes | |
| readonly DateTime | time |
| The time. More... | |
Static Public Attributes | |
| static DateTime | now => new UniqueTimestamp() |
| Create a unique timestamp that closes to now in current process. More... | |
UTC timestamp that unique in current process.
Simple and clear programming, convenient conversion:
| UniqueTimestamp | ( | ) |
Create a unique timestamp that closes to now in current process.
|
static |
Check to extend the min timestamp at least equals or greater than the specified time.
| value | The min time. |
|
static |
Convert the specified timestamp to System.DateTime.
| timestamp | Timestamp. |
| readonly DateTime time |
The time.
|
static |
Create a unique timestamp that closes to now in current process.