Class SystemClock (4.10.0)

 public sealed class SystemClock : IClock 

A singleton implementation of IClock which delegates to the BCL UtcNow property.

Inheritance

object > SystemClock

Implements

IClock

Namespace

Google.Api.Gax

Assembly

Google.Api.Gax.dll

Properties

Instance

 public static IClock Instance { get; } 

Retrieves the singleton instance of this type.

Property Value
Type
Description

Methods

GetCurrentDateTimeUtc()

 public DateTime GetCurrentDateTimeUtc() 

Returns the current date and time in UTC, using UtcNow .

Returns
Type
Description

The current date and time in UTC.

Design a Mobile Site
View Site in Mobile | Classic
Share by: