C# 클래스 Rebel.Framework.Localization.DateTimeHelpers

파일 보기 프로젝트 열기: RebelCMS/rebelcmsxu5

공개 메소드들

메소드 설명
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