WALTER | Workable Algorithms for Location-aware Transmission, Encryption Response

IClock Properties

The IClock type exposes the following members.

Properties


  Name Description
Public property Static member Instance
Gets or sets the current instance of IClock, enabling the ability to simulate time in unit tests or time-sensitive integration tests. Note: This property is not available in .NET Standard 2.0.
Public property Now
Gets the current local date and time.
Public property UtcNow
Gets the current UTC date and time.