Class TimeZoneUtils
- java.lang.Object
-
- microsoft.exchange.webservices.data.util.TimeZoneUtils
-
public final class TimeZoneUtils extends Object
Miscellany timezone functions
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Map<String,String>createOlsonTimeZoneToMsMap()static StringgetMicrosoftTimeZoneName(TimeZone timeZone)Convert Olson TimeZone to Microsoft TimeZone Generated using Unicode CLDR project Example: https://gist.github.com/scottmac/655675e9b4d4913c539c
-
-
-
Method Detail
-
getMicrosoftTimeZoneName
public static String getMicrosoftTimeZoneName(TimeZone timeZone)
Convert Olson TimeZone to Microsoft TimeZone Generated using Unicode CLDR project Example: https://gist.github.com/scottmac/655675e9b4d4913c539c- Parameters:
timeZone- java timezone (Olson)- Returns:
- a microsoft timezone identifier (ala Eastern Standard Time)
-
createOlsonTimeZoneToMsMap
public static Map<String,String> createOlsonTimeZoneToMsMap()
-
-