C# Класс NetworkCommsDotNet.Tools.XPlatformHelper.DateTimeExtensions

Показать файл Открыть проект

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

Метод Описание
ToLongDateString ( this dt ) : string

Converts the value of the current DateTime object to its equivalent long date string representation.

ToLongTimeString ( this dt ) : string

Converts the value of the current DateTime object to its equivalent long time string representation.

ToShortDateString ( this dt ) : string

Converts the value of the current DateTime object to its equivalent short date string representation.

ToShortTimeString ( this dt ) : string

Converts the value of the current DateTime object to its equivalent short time string representation.

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

ToLongDateString() публичный статический Метод

Converts the value of the current DateTime object to its equivalent long date string representation.
public static ToLongDateString ( this dt ) : string
dt this
Результат string

ToLongTimeString() публичный статический Метод

Converts the value of the current DateTime object to its equivalent long time string representation.
public static ToLongTimeString ( this dt ) : string
dt this
Результат string

ToShortDateString() публичный статический Метод

Converts the value of the current DateTime object to its equivalent short date string representation.
public static ToShortDateString ( this dt ) : string
dt this
Результат string

ToShortTimeString() публичный статический Метод

Converts the value of the current DateTime object to its equivalent short time string representation.
public static ToShortTimeString ( this dt ) : string
dt this
Результат string