Lines Matching refs:ZoneInfo

46  * information in the form of a {@link ZoneInfo} object. Also, it
48 * that is used by the {@link ZoneInfo} class. The directory layout
112 * <p><strong>1. ZoneInfo data file</strong><p>
114 * Each ZoneInfo data file consists of the following members.
136 * ZoneInfo data file. This field must be <code>"javazi&#92;0"</code>
162 * See {@link ZoneInfo#transitions ZoneInfo.transitions} about the value.
176 * See {@link ZoneInfo#simpleTimeZoneParams ZoneInfo.simpleTimeZoneParams}
187 * See {@link ZoneInfo#offsets ZoneInfo.offsets} about the value.
199 * See {@link ZoneInfo#rawOffset ZoneInfo.rawOffset} about the value.
212 * See {@link ZoneInfo#dstSavings ZoneInfo.dstSavings} about value.
224 * See {@link ZoneInfo#checksum ZoneInfo.checksum}.
227 * This record has a flag value for {@link ZoneInfo#rawOffsetWillChange}.
376 * The magic number for the ZoneInfo data file format.
384 * The ZoneInfo data file format version number. Must increase
474 private static Map<String, ZoneInfo> zoneInfoObjects = null;
475 private static final ZoneInfo GMT = new ZoneInfo("GMT", 0);
505 * Gets a ZoneInfo with the given GMT offset. The object
510 * @return a ZoneInfo constructed with the given GMT offset
512 public static ZoneInfo getCustomTimeZone(String originalId, int gmtOffset) {
515 ZoneInfo zi = getFromCache(id);
517 zi = new ZoneInfo(id, gmtOffset);
523 return (ZoneInfo) zi.clone();
552 * @return a ZoneInfo instance created for the specified id, or
556 public static ZoneInfo getZoneInfo(String id) {
559 return (ZoneInfo) GMT.clone();
560 ZoneInfo zi = getFromCache(id);
562 Map<String, String> aliases = ZoneInfo.getCachedAliasTable();
572 return (ZoneInfo) zi.clone();
575 synchronized static ZoneInfo getFromCache(String id) {
582 synchronized static ZoneInfo addToCache(String id, ZoneInfo zi) {
584 zoneInfoObjects = new HashMap<String, ZoneInfo>();
586 ZoneInfo zone = zoneInfoObjects.get(id);
595 private static ZoneInfo createZoneInfo(String id) {
614 System.err.println("ZoneInfo: wrong magic number: " + id);
619 System.err.println("ZoneInfo: incompatible version ("
696 System.err.println("ZoneInfo: wrong SimpleTimeZone parameter size");
714 System.err.println("ZoneInfo: wrong byte length for TAG_GMTOffsetWillChange");
721 System.err.println("ZoneInfo: unknown tag < " + tag + ">. ignored.");
727 System.err.println("ZoneInfo: corrupted zoneinfo file: " + id);
732 System.err.println("ZoneInfo: wrong file size: " + id);
736 return new ZoneInfo(id, rawOffset, dstSavings, checksum,
785 System.err.println("ZoneInfo: corrupted " + JAVAZM_FILE_NAME);
832 System.err.println("ZoneInfo: corrupted " + JAVAZM_FILE_NAME);
892 System.err.println("ZoneInfo: corrupted " + JAVAZM_FILE_NAME);
943 System.err.println("ZoneInfo: corrupted " + JAVAZM_FILE_NAME);
994 System.err.println("ZoneInfo: corrupted " + JAVAZM_FILE_NAME);
1023 System.err.println("ZoneInfo: wrong magic number: " + JAVAZM_FILE_NAME);
1028 System.err.println("ZoneInfo: incompatible version ("
1070 System.err.println("ZoneInfo: " + ex.getMessage());