Method Summary |
|
void | add(Zone zone) Adds the given zone to the list of Zones. |
void | add(Rule rule) Adds the given rule to the list of Rules. |
HashMap | getAliases() |
static int | getEndYear() |
static int | getMaxYear() |
static int | getMinYear() |
Rule | getRule(String name) |
static int | getStartYear() |
Zone | getZone(String name) |
Iterator | getZoneIterator() |
HashMap | getZones() |
static Zoneinfo | parse(String fname) Parses the specified time zone data file and creates a Zoneinfo
that has all Rules, Zones and Links (aliases) information. |
Timezone | phase2(String zoneName) Interprets a zone and constructs a Timezone object that
contains enough information on GMT offsets and DST schedules to
generate a zone info database.
Parameters: zoneName - the zone name for which a Timezone object isconstructed. |
void | putAlias(String name1, String name2) Puts the specifid name pair to the alias table. |
static void | setEndYear(int year) Sets the end year. |
static void | setStartYear(int year) Sets the start year. |
static void | setYear(int year) Sets the given year for SimpleTimeZone list output. |