Lines Matching refs:zone

54  * <code>TimeZone</code> represents a time zone offset, and also figures out daylight
59 * which creates a <code>TimeZone</code> based on the time zone where the program
65 * along with a time zone ID. For instance, the time zone ID for the
66 * U.S. Pacific Time zone is "America/Los_Angeles". So, you can get a
72 * all the supported time zone IDs. You can then choose a
74 * If the time zone you want is not represented by one of the
75 * supported IDs, then a custom time zone ID can be specified to
76 * produce a TimeZone. The syntax of a custom time zone ID is:
100 * transition schedule can be specified with a custom time zone ID. If
105 * zone ID is normalized in the following syntax:
120 * <h4>Three-letter time zone IDs</h4>
122 * For compatibility with JDK 1.1.x, some other three-letter time zone IDs
169 * Gets the time zone offset, for current date, modified in case of
195 * Returns the offset of this time zone from UTC at the specified
220 * time zone at the given time.
222 * 00:00:00.000 GMT) at which the time zone offset and daylight
248 * Sets the base time zone offset to GMT.
257 * @param offsetMillis the given base time zone offset to GMT.
263 * standard time in this time zone. Because this value is not
280 * Gets the ID of this time zone.
281 * @return the ID of this time zone.
289 * Sets the time zone ID. This does not change any other data in
290 * the time zone object.
291 * @param ID the new time zone ID.
311 * @return the human-readable name of this time zone in the default locale.
332 * @return the human-readable name of this time zone in the given locale.
357 * @return the human-readable name of this time zone in the default locale.
378 * <p>When looking up a time zone name, the {@linkplain
383 * <code>Locale</code>} search is performed.) If a time zone name in any
392 * @return the human-readable name of this time zone in the given locale.
537 * this time zone.
553 * @return the specified <code>TimeZone</code>, or the GMT zone if the given ID
572 * Gets the available IDs according to the given time zone offset in milliseconds.
574 * @param rawOffset the given time zone GMT offset in milliseconds.
575 * @return an array of IDs, where the time zone for that ID has
599 * Gets the custom time zone ID based on the GMT offset of the
624 // Need to initialize the default time zone.
635 // get the time zone ID from the system properties
639 // if the time zone ID is not set (yet), perform the
640 // platform to Java time zone ID mapping.
656 // Get the time zone for zoneID. But not fall back to
661 // If the given zone ID is unknown in Java, try to
662 // get the GMT-offset-based time zone ID,
663 // a.k.a. custom time zone ID (e.g., "GMT-08:00").
700 * returned by the <code>getDefault</code> method. If <code>zone</code>
703 * @param zone the new default time zone
706 public static void setDefault(TimeZone zone)
710 defaultTimeZone = zone;
714 setDefaultInAppContext(zone);
774 * Returns true if this zone has the same rule and offset as another zone.
775 * That is, if this zone differs only in ID, if at all. Returns false
776 * if the other zone is null.
778 * @return true if the other zone is not null and is the same as this one,
828 * Parses a custom time zone identifier and returns a corresponding zone.
829 * This method doesn't support the RFC 822 time zone format. (e.g., +hhmm)