메소드 | 설명 | |
---|---|---|
FormatAdjustedUniversalTime ( System.DateTime date ) : string | ||
GetById ( int id ) : |
Gets a timezone the by id.
|
|
GetDaylightChanges ( int year ) : |
||
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 |
public FormatAdjustedUniversalTime ( System.DateTime date ) : string | ||
date | System.DateTime | |
리턴 | string |
public static GetById ( int id ) : |
||
id | int | The id. |
리턴 |
public GetDaylightChanges ( int year ) : |
||
year | int | |
리턴 |
public GetUtcOffset ( System.DateTime time ) : System.TimeSpan | ||
time | System.DateTime | |
리턴 | System.TimeSpan |
public ToLocalTime ( DateTime time ) : DateTime | ||
time | DateTime | A UTC time. |
리턴 | DateTime |
public ToUniversalTime ( DateTime time ) : DateTime | ||
time | DateTime | |
리턴 | DateTime |