Class SystemClock
Implements
Inherited Members
Namespace: Google.Apis.Util
Assembly: Google.Apis.Core.dll
Syntax
public class SystemClock : IClock
Constructors
SystemClock()
Constructs a new system clock.
Declaration
protected SystemClock()
Fields
Default
The default instance.
Declaration
public static readonly IClock Default
Field Value
Type | Description |
---|---|
IClock |
Properties
Now
Gets a Date
Declaration
public DateTime Now { get; }
Property Value
Type | Description |
---|---|
Date |
UtcNow
Gets a Date
Declaration
public DateTime UtcNow { get; }
Property Value
Type | Description |
---|---|
Date |