AskGeo .NET  1.1.0
AskGeo Libraries for .NET
 All Classes Namespaces Functions Variables Enumerations Pages
Static Public Member Functions
AskGeo.Base.TimeZoneNameConverter Class Reference

Encodes the relationship between Olson time zone IDs and the Microsoft Windows time zone standard names. More...

List of all members.

Static Public Member Functions

static void LoadData (Stream dataFileStream)
static String GetWindowsStandardNameFromOlsonId (String olsonId)
static String[] GetAllWindowsStandardNames ()
static String[] GetAllOlsonIds ()
static void PrintAll ()

Detailed Description

Encodes the relationship between Olson time zone IDs and the Microsoft Windows time zone standard names.


Member Function Documentation

static String [] AskGeo.Base.TimeZoneNameConverter.GetAllOlsonIds ( )
static

Returns an array of all the Olson IDs understood by the converter.

Returns:
an array of all the Olson IDs.
static String [] AskGeo.Base.TimeZoneNameConverter.GetAllWindowsStandardNames ( )
static

Returns an array of all the Windows Standard Names that can be returned by the converter.

Returns:
an array of all the Windows Standard Names.
static String AskGeo.Base.TimeZoneNameConverter.GetWindowsStandardNameFromOlsonId ( String  olsonId)
static

Converts from an Olson time zone ID of the sort returned by the TimeZoneMap class, to the Microsoft Windows time zone standard name.

Parameters:
olsonIdthe Olson time zone ID.
Returns:
the Microsoft Windows time zone standard name.
static void AskGeo.Base.TimeZoneNameConverter.LoadData ( Stream  dataFileStream)
static

Reads a tab delimeted data file containing the mapping from Olson ID to Windows Standard Name. The first field on each line is the Olson ID, followed by a tab, then followed by the corresponding Windows Standard Name.

Parameters:
dataFileStreamthe stream from the data file to read.
Exceptions:
Exceptionif there is an IO exception when reading the stream
static void AskGeo.Base.TimeZoneNameConverter.PrintAll ( )
static

Prints all the key value pairs in the converter.


The documentation for this class was generated from the following file: