microsoft.exchange.webservices.data.util
Class TimeZoneUtils
java.lang.Object
microsoft.exchange.webservices.data.util.TimeZoneUtils
public final class TimeZoneUtils
- extends Object
Miscellany timezone functions
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
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()
Copyright © 2012–2015 Microsoft. All rights reserved.