Lines Matching refs:ID

65  * along with a time zone ID. For instance, the time zone ID for the
73 * supported ID to get a <code>TimeZone</code>.
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:
280 * Gets the ID of this time zone.
281 * @return the ID of this time zone.
285 return ID;
289 * Sets the time zone ID. This does not change any other data in
291 * @param ID the new time zone ID.
293 public void setID(String ID)
295 if (ID == null) {
298 this.ID = ID;
386 * <a href="#NormalizedCustomID">normalized custom ID format</a> is returned.
546 * Gets the <code>TimeZone</code> for the given ID.
548 * @param ID the ID for a <code>TimeZone</code>, either an abbreviation
550 * ID such as "GMT-8:00". Note that the support of abbreviations is
553 * @return the specified <code>TimeZone</code>, or the GMT zone if the given ID
556 public static synchronized TimeZone getTimeZone(String ID) {
557 return getTimeZone(ID, true);
560 private static TimeZone getTimeZone(String ID, boolean fallback) {
561 TimeZone tz = ZoneInfo.getTimeZone(ID);
563 tz = parseCustomTimeZone(ID);
575 * @return an array of IDs, where the time zone for that ID has
593 * Gets the platform defined TimeZone ID.
599 * Gets the custom time zone ID based on the GMT offset of the
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.
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").
775 * That is, if this zone differs only in ID, if at all. Returns false
779 * with the possible exception of the ID
796 other.ID = ID;
814 * display names. <code>ID</code> values are unique in the system
818 private String ID;
831 * @param id a string of the <a href="#CustomID">custom ID form</a>.