Google API Client Library for .NET  1.10.0
Static Public Attributes | Protected Member Functions | Properties | List of all members
Google.Apis.Util.SystemClock Class Reference

A default clock implementation that wraps the System.DateTime.Now property. More...

Inheritance diagram for Google.Apis.Util.SystemClock:
Google.Apis.Util.IClock

Static Public Attributes

static readonly IClock Default = new SystemClock()
 The default instance. More...
 

Protected Member Functions

 SystemClock ()
 Constructs a new system clock. More...
 

Properties

DateTime Now [get]
 
DateTime UtcNow [get]
 
- Properties inherited from Google.Apis.Util.IClock
DateTime Now [get]
 Gets a System.DateTime object that is set to the current date and time on this computer, expressed as the local time. More...
 
DateTime UtcNow [get]
 Gets a System.DateTime object that is set to the current date and time on this computer, expressed as UTC time. More...
 

Detailed Description

A default clock implementation that wraps the System.DateTime.Now property.

Constructor & Destructor Documentation

Google.Apis.Util.SystemClock.SystemClock ( )
inlineprotected

Constructs a new system clock.

Member Data Documentation

readonly IClock Google.Apis.Util.SystemClock.Default = new SystemClock()
static

The default instance.


The documentation for this class was generated from the following file: