Class SystemClock
A IClock based on the system hardware clock, via System.DateTimeOffset.Now.
Implements
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: TimeyWimey.Abstractions
Assembly: cs.temp.dll.dll
Syntax
public class SystemClock : ClockBase, IClock
Remarks
This implementation does NOT raise the Adjusted event, as Net Standard does not provide an event or notification of clock changes.
Properties
Name | Description |
---|---|
Now | Returns the current date and time according to the system clock (equivalent to System.DateTimeOffset.Now. |