SystemClock Class

Provides the system’s date and time.

Inheritance Hierarchy

System.Object
  Microsoft.Owin.Infrastructure.SystemClock

Namespace:  Microsoft.Owin.Infrastructure
Assembly:  Microsoft.Owin (in Microsoft.Owin.dll)

Syntax

'Declaration
Public Class SystemClock _
    Implements ISystemClock
'Usage
Dim instance As SystemClock
public class SystemClock : ISystemClock
public ref class SystemClock : ISystemClock
type SystemClock =  
    class 
        interface ISystemClock 
    end
public class SystemClock implements ISystemClock

The SystemClock type exposes the following members.

Constructors

  Name Description
Public method SystemClock Initializes a new instance of the SystemClock class.

Top

Properties

  Name Description
Public property UtcNow Gets the date and time that is set to the current Coordinated Universal Time (UTC) based on the local system’s clock time.

Top

Methods

  Name Description
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Protected method MemberwiseClone (Inherited from Object.)
Public method ToString (Inherited from Object.)

Top

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

Microsoft.Owin.Infrastructure Namespace