Interface ISystemClock
Abstraction over wall-clock time so verification can be tested without calling DateTimeOffset directly.
public interface ISystemClock
Properties
UtcNow
Returns the current UTC instant.
DateTimeOffset UtcNow { get; }
Property Value
- DateTimeOffset
Current time in UTC.