C# Class Google.Api.Gax.SystemClock

A singleton implementation of IClock which delegates to the BCL DateTime.UtcNow property.
Inheritance: IClock
Afficher le fichier Open project: googleapis/gax-dotnet

Méthodes publiques

Méthode Description
GetCurrentDateTimeUtc ( ) : System.DateTime

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

Private Methods

Méthode Description
SystemClock ( ) : System

Method Details

GetCurrentDateTimeUtc() public méthode

Returns the current date and time in UTC, using DateTime.UtcNow.
public GetCurrentDateTimeUtc ( ) : System.DateTime
Résultat System.DateTime