C# Class Patterns.Runtime.DefaultDateTimeInfo

Defines a default implementation of the IDateTimeInfo interface.
Inheritance: IDateTimeInfo
Afficher le fichier Open project: patterns-group/code-patterns

Méthodes publiques

Méthode Description
GetNow ( ) : System.DateTime

Gets the DateTime value representing "now".

GetUtcNow ( ) : System.DateTime

Gets the Coordinated Universal Time (UTC) DateTime value representing "now".

Method Details

GetNow() public méthode

Gets the DateTime value representing "now".
public GetNow ( ) : System.DateTime
Résultat System.DateTime

GetUtcNow() public méthode

Gets the Coordinated Universal Time (UTC) DateTime value representing "now".
public GetUtcNow ( ) : System.DateTime
Résultat System.DateTime