|
Sharpility
|
Clock with fixed time. More...
Public Member Functions | |
| void | Set (DateTime time) |
| Sets clock time. | |
Static Public Member Functions | |
| static FixedClock | At (DateTime time) |
| Create new clock instance at given time. | |
| static FixedClock | AtThisInstance () |
| Create new clock instance at current time. | |
Properties | |
| DateTime | CurrentTime [get] |
| Returns current time. | |
Clock with fixed time.
| static FixedClock Sharpility.Time.FixedClock.At | ( | DateTime | time | ) | [inline, static] |
Create new clock instance at given time.
| time | time |
| static FixedClock Sharpility.Time.FixedClock.AtThisInstance | ( | ) | [inline, static] |
Create new clock instance at current time.
| void Sharpility.Time.FixedClock.Set | ( | DateTime | time | ) | [inline] |
Sets clock time.
| time |
DateTime Sharpility.Time.FixedClock.CurrentTime [get] |
Returns current time.
Implements Sharpility.Time.Clock.