Méthode | 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
|
Méthode | Description | |
---|---|---|
TimeZoneUtil ( ) : System |
public static ConvertTime ( DateTimeOffset dateTimeOffset, |
||
dateTimeOffset | DateTimeOffset | |
timeZoneInfo | ||
Résultat | DateTimeOffset |
public static FindTimeZoneById ( string id ) : |
||
id | string | System id of the time zone. |
Résultat |
public static GetUtcOffset ( System.DateTime dateTime, |
||
dateTime | System.DateTime | |
timeZoneInfo | ||
Résultat | System.TimeSpan |
public static GetUtcOffset ( DateTimeOffset dateTimeOffset, |
||
dateTimeOffset | DateTimeOffset | |
timeZoneInfo | ||
Résultat | System.TimeSpan |