Interface IDateTimeProvider
- Namespace
- AnyProtocol.Abstraction
- Assembly
- AnyProtocol.Abstraction.dll
Defines operations for date time.
public interface IDateTimeProvider
Methods
GetUtcNow()
Gets the current UTC time.
DateTimeOffset GetUtcNow()
Returns
- DateTimeOffset
The value produced by the operation.