Method | Description | |
---|---|---|
ConvertTime ( DateTimeOffset dateTimeOffset, |
TimeZoneInfo.ConvertTime is not supported under mono
|
|
FindTimeZoneById ( string id ) : |
Tries to find time zone with given id, has ability do some fallbacks when necessary.
|
|
GetUtcOffset ( System.DateTime dateTime, |
||
GetUtcOffset ( DateTimeOffset dateTimeOffset, |
TimeZoneInfo.GetUtcOffset(DateTimeOffset) is not supported under mono
|
Method | Description | |
---|---|---|
TimeZoneUtil ( ) : System |
public static ConvertTime ( DateTimeOffset dateTimeOffset, |
||
dateTimeOffset | DateTimeOffset | |
timeZoneInfo | ||
return | DateTimeOffset |
public static FindTimeZoneById ( string id ) : |
||
id | string | System id of the time zone. |
return |
public static GetUtcOffset ( System.DateTime dateTime, |
||
dateTime | System.DateTime | |
timeZoneInfo | ||
return | System.TimeSpan |
public static GetUtcOffset ( DateTimeOffset dateTimeOffset, |
||
dateTimeOffset | DateTimeOffset | |
timeZoneInfo | ||
return | System.TimeSpan |