Lines Matching full:time
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
56 * creates a <code>TimeZone</code> object based on Japanese Standard Time.
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
84 * daylight savings time.
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
91 * from a time expressed in terms of GMT to convert it to the same time in that
92 * time zone (without taking daylight savings time into account).</li>
93 * <li>Logic necessary to take daylight savings time into account if daylight savings
94 * time is observed in that time zone (e.g., the days and hours on which daylight
95 * savings time begins and ends).</li>
96 * <li>An ID. This is a text string that uniquely identifies the time zone.</li>
100 * daylight savings time and GMT offset in different ways. Currently we only have one
104 * combination of GMT offset and daylight-savings time rules currently in use in the
107 * Time is "America/Los_Angeles.") Because older versions of this class used
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
120 * for Japanese Standard Time ("Asia/Tokyo").
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.
150 * Returns an enumeration over all recognized time zone IDs. (i.e.,
159 * Returns an enumeration over time zone IDs with a given raw
162 * savings time. For example, the state of Arizona doesn't
163 * observe daylight savings time. If you ask for the time zone
165 * over two time zone IDs: "America/Denver," which corresponds to
166 * Mountain Standard Time in the winter and Mountain Daylight Time
168 * Mountain Standard Time year-round, even in the summer.
171 * the effect of daylight savings time, if any
178 * Returns an enumeration over time zone IDs associated with the
191 * Returns a list of time zone IDs, one for each time zone with a given GMT offset.
193 * GMT offset that differ in the way they handle daylight savings time. For example,
194 * the state of Arizona doesn't observe Daylight Savings time. So if you ask for
195 * the time zone IDs corresponding to GMT-7:00, you'll get back two time zone IDs:
196 * "America/Denver," which corresponds to Mountain Standard Time in the winter and
197 * Mountain Daylight Time in the summer, and "America/Phoenix", which corresponds to
198 * Mountain Standard Time year-round, even in the summer.
208 * a time zone ID for a time zone with the given GMT offset. If
209 * there is no time zone that matches the GMT offset
216 * Returns a list of time zone IDs associated with the given
231 * UnicodeString is a time zone ID for a time zone with the given
232 * country. If there is no time zone that matches the country
240 * Returns a list of all time zone IDs supported by the TimeZone class (i.e., all
248 * @return An array of UnicodeString pointers, where each is a time zone ID
261 * The given ID must be a system time zone. If it is not, returns
263 * @param id a system time zone ID
279 * given id. If the given id is not a valid system time zone, or
281 * @param id a system time zone ID
294 * Creates a new copy of the default TimeZone for this host. Unless the default time
301 * @return A default TimeZone. Clients are responsible for deleting the time zone
308 * Sets the default time zone (i.e., what's returned by createDefault()) to be the
309 * specified time zone. If NULL is specified for the time zone, the default time
310 * zone is set to the default host time zone. This call adopts the TimeZone object
337 * custom time zone ID for the given time zone ID.
338 * @param id The input time zone ID to be canonicalized.
339 * @param canonicalID Receives the canonical system time zone ID
340 * or the custom time zone ID in normalized format.
341 * @param status Recevies the status. When the given time zone ID
342 * is neither a known system time zone ID nor a
343 * valid custom time zone ID, U_ILLEGAL_ARGUMENT_ERROR
352 * Returns the canonical system time zone ID or the normalized
353 * custom time zone ID for the given time zone ID.
354 * @param id The input time zone ID to be canonicalized.
355 time zone ID
356 * or the custom time zone ID in normalized format.
358 * time zone ID.
359 * @param status Recevies the status. When the given time zone ID
360 * is neither a known system time zone ID nor a
361 * valid custom time zone ID, U_ILLEGAL_ARGUMENT_ERROR
393 * to GMT to get local time in this time zone, taking daylight savings time into
395 * whether daylight savings time is in effect and needs to be figured into the offset
396 * that is returned (in other words, what is the adjusted GMT offset in this time zone
397 * at this particular date and time?). For the time zones produced by createTimeZone(),
399 * and time fields are local standard time.
402 * which returns both the raw and the DST offset for a given time. This method
410 * @param millis The reference date's milliseconds in day, local standard time
412 * @return The offset in milliseconds to add to GMT to get local time.
419 * Gets the time zone offset, for current date, modified in case of
420 * daylight savings. This is the offset to add *to* UTC to get local time.
423 * which returns both the raw and the DST offset for a given time. This method
432 * @param milliseconds the millis in day in <em>standard</em> local time.
435 * @return the offset to add *to* GMT to get local time.
443 * Returns the time zone raw and GMT offset for the given moment
444 * in time. Upon return, local-millis = GMT-millis + rawOffset +
449 * @param date moment in time for which to return offsets, in
451 * time or local wall time, depending on `local'.
452 * @param local if true, `date' is local wall time; otherwise it
453 * is in GMT time.
458 * total offset between local and GMT time. If DST is not in
470 * to GMT to get local time, before taking daylight savings time into account).
472 * @param offsetMillis The new raw GMT offset for this time zone.
479 * to GMT to get local time, before taking daylight savings time into account).
502 * the time zone's GMT offset and daylight-savings rules don't change to those for
505 * @param ID The new time zone ID.
528 * Returns a name of this time zone suitable for presentation to the user
534 * @param result the human-readable name of this time zone in the default locale.
541 * Returns a name of this time zone suitable for presentation to the user
548 * @param result the human-readable name of this time zone in the given locale
556 * Returns a name of this time zone suitable for presentation to the user
563 * @param result the human-readable name of this time zone in the default locale.
570 * Returns a name of this time zone suitable for presentation to the user
578 * @param result the human-readable name of this time zone in the given locale
586 * Queries if this time zone uses daylight savings time.
587 * @return true if this time zone uses daylight savings time,
594 * Queries if the given date is in daylight savings time in
595 * this time zone.
597 * deletes it each time it is called. This is a deprecated method
602 * @return true if the given date is in daylight savings time,
649 * Returns the amount of time to be added to local standard time
650 * to get local wall clock time.
653 * (i.e., one hour) if this time zone observes Daylight Saving
654 * Time. Otherwise, 0 (zero) is returned.
657 * historical Daylight Saving Time changes, this method returns
660 * @return the amount of saving time in milliseconds
675 * @param id a system time zone ID
709 static TimeZone* createCustomTimeZone(const UnicodeString&); // Creates a time zone based on the string.
723 * Parses the given custom time zone identifier
736 * Parse a custom time zone identifier and return the normalized
737 * custom time zone identifier for the given custom id string.
749 * Returns the normalized custome time zone ID for the given offset fields.
762 * (i.e., platform-specific calls) to get the current system time zone. Failing
763 * that, uses the platform-specific default time zone. Failing that, uses GMT.
772 * @param name tthe given name of a system time zone.
777 UnicodeString fID; // this time zone's ID