Lines Matching full:zone
49 * <code>TimeZone</code> represents a time zone offset, and also figures out daylight
54 * which creates a <code>TimeZone</code> based on the time zone where the program
60 * with a time zone ID. For instance, the time zone ID for the US Pacific
61 * Time zone is "America/Los_Angeles". So, you can get a Pacific Time <code>TimeZone</code> object
69 * all the supported time zone IDs. You can then choose a
71 * If the time zone you want is not represented by one of the
72 * supported IDs, then you can create a custom time zone ID with
82 * time zone ID. The <code>TimeZone</code> that is returned
83 * when you specify a custom time zone ID does not include
86 * TimeZone is an abstract class representing a time zone. A TimeZone is needed for
87 * Calendar to produce local time for a particular time zone. A TimeZone comprises
90 * <li>A time zone offset; that, is the number of milliseconds to add or subtract
92 * time zone (without taking daylight savings time into account).</li>
94 * time is observed in that time zone (e.g., the days and hours on which daylight
96 * <li>An ID. This is a text string that uniquely identifies the time zone.</li>
113 * and pass it a time zone ID. You can use the createEnumeration() function to
114 * obtain a list of all the time zone IDs recognized by createTimeZone().
117 * platform-specific APIs to produce a TimeZone for the time zone corresponding to
130 * The GMT time zone has a raw offset of zero and does not use daylight
131 * savings time. This is a commonly used time zone.
132 * @return the GMT time zone.
141 * @return the specified <code>TimeZone</code>, or the GMT zone if the given ID
143 * require that the specific zone asked for be returned, check the ID of the
150 * Returns an enumeration over all recognized time zone IDs. (i.e.,
159 * Returns an enumeration over time zone IDs with a given raw
163 * observe daylight savings time. If you ask for the time zone
165 * over two time zone IDs: "America/Denver," which corresponds to
178 * Returns an enumeration over time zone IDs associated with the
195 * The given ID must be a system time zone. If it is not, returns
197 * @param id a system time zone ID
213 * given id. If the given id is not a valid system time zone, or
215 * @param id a system time zone ID
218 * @return the ID of the index-th zone in the equivalency group
229 * zone has already been set using adoptDefault() or setDefault(), the default is
235 * @return A default TimeZone. Clients are responsible for deleting the time zone
242 * Sets the default time zone (i.e., what's returned by createDefault()) to be the
243 * specified time zone. If NULL is specified for the time zone, the default time
244 * zone is set to the default host time zone. This call adopts the TimeZone object
247 * @param zone A pointer to the new TimeZone object to use as the default.
250 static void U_EXPORT2 adoptDefault(TimeZone* zone);
256 * @param zone The given timezone.
259 static void U_EXPORT2 setDefault(const TimeZone& zone);
271 * custom time zone ID for the given time zone ID.
272 * @param id The input time zone ID to be canonicalized.
273 * @param canonicalID Receives the canonical system time zone ID
274 * or the custom time zone ID in normalized format.
275 * @param status Recevies the status. When the given time zone ID
276 * is neither a known system time zone ID nor a
277 * valid custom time zone ID, U_ILLEGAL_ARGUMENT_ERROR
286 * Returns the canonical system time zone ID or the normalized
287 * custom time zone ID for the given time zone ID.
288 * @param id The input time zone ID to be canonicalized.
289 * @param canonicalID Receives the canonical system time zone ID
290 * or the custom time zone ID in normalized format.
292 * time zone ID.
293 * @param status Recevies the status. When the given time zone ID
294 * is neither a known system time zone ID nor a
295 * valid custom time zone ID, U_ILLEGAL_ARGUMENT_ERROR
327 * to GMT to get local time in this time zone, taking daylight savings time into
330 * that is returned (in other words, what is the adjusted GMT offset in this time zone
353 * Gets the time zone offset, for current date, modified in case of
377 * Returns the time zone raw and GMT offset for the given moment
406 * @param offsetMillis The new raw GMT offset for this time zone.
436 * the time zone's GMT offset and daylight-savings rules don't change to those for
439 * @param ID The new time zone ID.
471 * from time zone offset
477 * from time zone offset
483 * from the time zone's fallback name
489 * from the time zone's fallback name
496 * Returns a name of this time zone suitable for presentation to the user
502 * @param result the human-readable name of this time zone in the default locale.
509 * Returns a name of this time zone suitable for presentation to the user
516 * @param result the human-readable name of this time zone in the given locale
524 * Returns a name of this time zone suitable for presentation to the user
531 * @param result the human-readable name of this time zone in the default locale.
538 * Returns a name of this time zone suitable for presentation to the user
546 * @param result the human-readable name of this time zone in the given locale
554 * Queries if this time zone uses daylight savings time.
555 * @return true if this time zone uses daylight savings time,
563 * this time zone.
577 * Returns true if this zone has the same rule and offset as another zone.
578 * That is, if this zone differs only in ID, if at all.
580 * @return true if the given zone is the same as this one,
621 * (i.e., one hour) if this time zone observes Daylight Saving
643 * @param id a system time zone ID
677 static TimeZone* createCustomTimeZone(const UnicodeString&); // Creates a time zone based on the string.
682 * dereferenced zone id is returned. When the given id is unknown, then it returns
684 * @param id zone id string
685 * @return the dereferenced zone or NULL
690 * Returns the region code associated with the given zone.
691 * @param id zone id string
692 * @return the region associated with the given zone
697 * Parses the given custom time zone identifier
710 * Parse a custom time zone identifier and return the normalized
711 * custom time zone identifier for the given custom id string.
723 * Returns the normalized custome time zone ID for the given offset fields.
736 * (i.e., platform-specific calls) to get the current system time zone. Failing
737 * that, uses the platform-specific default time zone. Failing that, uses GMT.
743 * Lookup the given name in our system zone table. If found,
744 * instantiate a new zone of that name and return it. If not
746 * @param name tthe given name of a system time zone.
751 UnicodeString fID; // this time zone's ID