C# Class Rebel.Framework.Localization.DateTimeHelpers

Afficher le fichier Open project: RebelCMS/rebelcmsxu5

Méthodes publiques

Méthode Description
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

Method Details

AdjustToTimeZone() public static méthode

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.
Résultat DateTime

AdjustToTimeZone() public static méthode

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.
Résultat DateTime

AdjustToTimeZone() public static méthode

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.
Résultat System.DateTime

AdjustToTimeZone() public static méthode

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.
Résultat System.DateTime