|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.askgeo.flt.timezone.TimeZoneNameConverter
public class TimeZoneNameConverter
Encodes the relationship between Olson time zone IDs and the Microsoft Windows time zone standard names.
Constructor Summary | |
---|---|
TimeZoneNameConverter()
|
Method Summary | |
---|---|
static java.lang.String[] |
getAllOlsonIds()
Returns an array of all the Olson IDs understood by the converter. |
static java.lang.String[] |
getAllWindowsStandardNames()
Returns an array of all the Windows Standard Names that can be returned by the converter. |
static java.lang.String |
getWindowsStandardNameFromOlsonId(java.lang.String olsonId)
Converts from an Olson time zone ID of the sort returned by the TimeZoneMap class, to the Microsoft Windows time zone standard name. |
static void |
loadData(java.io.InputStream dataFileStream)
Reads a tab delimeted data file containing the mapping from Olson ID to Windows Standard Name. |
static void |
printAll()
Prints all the key value pairs in the converter. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public TimeZoneNameConverter()
Method Detail |
---|
public static void loadData(java.io.InputStream dataFileStream) throws java.lang.Exception
dataFileStream
- the stream from the data file to read.
java.lang.Exception
- if there is an IO exception when reading the streampublic static java.lang.String getWindowsStandardNameFromOlsonId(java.lang.String olsonId)
olsonId
- the Olson time zone ID.
public static java.lang.String[] getAllWindowsStandardNames()
public static java.lang.String[] getAllOlsonIds()
public static void printAll()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |