Lines Matching refs:zone
53 * instances for the SimpleTimeZone-based time zone support.
82 * Adds the given zone to the list of Zones.
83 * @param zone Zone to be added to the list.
85 void add(Zone zone) {
86 String name = zone.getName();
87 zones.put(name, zone);
101 * @param name1 an alias time zone name
102 * @param name2 the real time zone of the alias name
189 * @param name a zone name
208 * Parses the specified time zone data file and creates a Zoneinfo
210 * @param fname the time zone data file name
223 Zone zone = null;
251 if (zone == null) {
253 panic("syntax error: zone no more token");
256 // if the zone name is in "GMT+hh" or "GMT-hh"
261 zone = new Zone(token);
269 zone.add(zrec);
271 if (Zone.isTargetZone(zone.getName())) {
272 // zone.resolve(zi);
273 zi.add(zone);
275 zone = null;
296 // if the zone name is in "GMT+hh" or "GMT-hh"
319 * Interprets a zone and constructs a Timezone object that
321 * generate a zone info database.
323 * @param zoneName the zone name for which a Timezone object is
331 Zone zone = getZone(zoneName);
332 zone.resolve(this);
336 ZoneRec zrec = zone.get(zone.size()-1);
342 * the rules referred to by the last zone record.
375 // take the index 0 for the GMT offset of the last zone record
376 ZoneRec zrec = zone.get(zone.size()-1);
381 for (int zindex = 0; zindex < zone.size(); zindex++) {
382 zrec = zone.get(zindex);
387 // If this is the last zone record, take the last rule info.
455 ZoneRec prevzrec = zone.get(zindex - 1);