C# Класс Patterns.Runtime.DefaultDateTimeInfo

Defines a default implementation of the IDateTimeInfo interface.
Наследование: IDateTimeInfo
Показать файл Открыть проект

Открытые методы

Метод Описание
GetNow ( ) : System.DateTime

Gets the DateTime value representing "now".

GetUtcNow ( ) : System.DateTime

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

Описание методов

GetNow() публичный Метод

Gets the DateTime value representing "now".
public GetNow ( ) : System.DateTime
Результат System.DateTime

GetUtcNow() публичный Метод

Gets the Coordinated Universal Time (UTC) DateTime value representing "now".
public GetUtcNow ( ) : System.DateTime
Результат System.DateTime