Method | Description | |
---|---|---|
FormatAdjustedUniversalTime ( System.DateTime date ) : string |
Renders a UTC date time as a local time string, displaying the offset from UTC.
|
|
GetDaylightChanges ( int year ) : |
||
GetUtcOffset ( System.DateTime time ) : System.TimeSpan | ||
ToLocalTime ( System.DateTime time ) : System.DateTime |
Returns the local time (for this timezone) that corresponds to a specified coordinated universal time (UTC).
|
|
ToString ( ) : string | ||
ToUniversalTime ( System.DateTime time ) : System.DateTime |
Method | Description | |
---|---|---|
GetUtcOffsetFromUniversalTime ( System.DateTime time, bool &isAmbiguousLocalDst ) : long | ||
LoadTimeZonesFromRegistry ( ) : |
||
LoadTimeZonesFromXml ( ) : |
||
WindowsTimeZone ( ) : System | ||
WindowsTimeZone ( string displayName, string daylightZoneName, string standardZoneName, int zoneIndex, byte tzi ) : System |
public FormatAdjustedUniversalTime ( System.DateTime date ) : string | ||
date | System.DateTime | |
return | string |
public GetDaylightChanges ( int year ) : |
||
year | int | |
return |
public GetUtcOffset ( System.DateTime time ) : System.TimeSpan | ||
time | System.DateTime | |
return | System.TimeSpan |
public ToLocalTime ( System.DateTime time ) : System.DateTime | ||
time | System.DateTime | A UTC time. |
return | System.DateTime |
public ToUniversalTime ( System.DateTime time ) : System.DateTime | ||
time | System.DateTime | |
return | System.DateTime |