C# 클래스 Subtext.Framework.Util.WindowsTimeZone

상속: System.TimeZone
파일 보기 프로젝트 열기: ayende/Subtext 1 사용 예제들

공개 메소드들

메소드 설명
FormatAdjustedUniversalTime ( System.DateTime date ) : string
GetById ( int id ) : WindowsTimeZone

Gets a timezone the by id.

GetDaylightChanges ( int year ) : DaylightTime
GetUtcOffset ( System.DateTime time ) : System.TimeSpan
ToLocalTime ( DateTime time ) : DateTime

Returns the local time (for this timezone) that corresponds to a specified coordinated universal time (UTC).

ToString ( ) : string
ToUniversalTime ( DateTime time ) : DateTime

비공개 메소드들

메소드 설명
GetUtcOffsetFromUniversalTime ( System.DateTime time, bool &isAmbiguousLocalDst ) : long
LoadTimeZonesFromXml ( ) : WindowsTimeZoneCollection
WindowsTimeZone ( ) : System
WindowsTimeZone ( string displayName, string daylightZoneName, string standardZoneName, int zoneIndex, byte tzi ) : System

메소드 상세

FormatAdjustedUniversalTime() 공개 메소드

public FormatAdjustedUniversalTime ( System.DateTime date ) : string
date System.DateTime
리턴 string

GetById() 공개 정적인 메소드

Gets a timezone the by id.
public static GetById ( int id ) : WindowsTimeZone
id int The id.
리턴 WindowsTimeZone

GetDaylightChanges() 공개 메소드

public GetDaylightChanges ( int year ) : DaylightTime
year int
리턴 System.Globalization.DaylightTime

GetUtcOffset() 공개 메소드

public GetUtcOffset ( System.DateTime time ) : System.TimeSpan
time System.DateTime
리턴 System.TimeSpan

ToLocalTime() 공개 메소드

Returns the local time (for this timezone) that corresponds to a specified coordinated universal time (UTC).
public ToLocalTime ( DateTime time ) : DateTime
time DateTime A UTC time.
리턴 DateTime

ToString() 공개 메소드

public ToString ( ) : string
리턴 string

ToUniversalTime() 공개 메소드

public ToUniversalTime ( DateTime time ) : DateTime
time DateTime
리턴 DateTime