C# Класс Rebel.Framework.Localization.DateTimeHelpers

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

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

Метод Описание
AdjustToTimeZone ( DateTime date ) : DateTime

Adjusts the date to the context's current time zone as defined by the current TextManager

AdjustToTimeZone ( DateTime date, TimeZoneInfo timeZoneInfo ) : DateTime

Adjusts the date to the TimeZoneInfo specified

AdjustToTimeZone ( this date ) : System.DateTime

Adjusts the date to the context's current time zone as defined by the current TextManager

AdjustToTimeZone ( this date, TimeZoneInfo timeZoneInfo ) : System.DateTime

Adjusts the date to the TimeZoneInfo specified

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

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

Adjusts the date to the context's current time zone as defined by the current TextManager
public static AdjustToTimeZone ( DateTime date ) : DateTime
date DateTime The date.
Результат DateTime

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

Adjusts the date to the TimeZoneInfo specified
public static AdjustToTimeZone ( DateTime date, TimeZoneInfo timeZoneInfo ) : DateTime
date DateTime The date.
timeZoneInfo TimeZoneInfo The time zone info.
Результат DateTime

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

Adjusts the date to the context's current time zone as defined by the current TextManager
public static AdjustToTimeZone ( this date ) : System.DateTime
date this The date.
Результат System.DateTime

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

Adjusts the date to the TimeZoneInfo specified
public static AdjustToTimeZone ( this date, TimeZoneInfo timeZoneInfo ) : System.DateTime
date this The date.
timeZoneInfo System.TimeZoneInfo The time zone info.
Результат System.DateTime