Home | History | Annotate | Download | only in unicode

Lines Matching full:time

50  * <code>TimeZone</code> represents a time zone offset, and also figures out daylight
55 * which creates a <code>TimeZone</code> based on the time zone where the program
57 * creates a <code>TimeZone</code> object based on Japanese Standard Time.
61 * with a time zone ID. For instance, the time zone ID for the US Pacific
62 * Time zone is "America/Los_Angeles". So, you can get a Pacific Time <code>TimeZone</code> object
70 * all the supported time zone IDs, or getCanonicalID method to check
71 * if a time zone ID is supported or not. You can then choose a
73 * If the time zone you want is not represented by one of the
74 * supported IDs, then you can create a custom time zone ID with
84 * time zone ID. The <code>TimeZone</code> that is returned
85 * when you specify a custom time zone ID uses the specified
87 * time. For example, you might specify GMT+14:00 as a custom
88 * time zone ID to create a TimeZone representing 14 hours ahead
89 * of GMT (with no daylight saving time). In addition,
91 * normalize a custom time zone ID.
93 * TimeZone is an abstract class representing a time zone. A TimeZone is needed for
94 * Calendar to produce local time for a particular time zone. A TimeZone comprises
97 * <li>A time zone offset; that, is the number of milliseconds to add or subtract
98 * from a time expressed in terms of GMT to convert it to the same time in that
99 * time zone (without taking daylight savings time into account).</li>
100 * <li>Logic necessary to take daylight savings time into account if daylight savings
101 * time is observed in that time zone (e.g., the days and hours on which daylight
102 * savings time begins and ends).</li>
103 * <li>An ID. This is a text string that uniquely identifies the time zone.</li>
107 * daylight savings time and GMT offset in different ways. Currently we have the following
111 * combination of GMT offset and daylight-savings time rules currently in use in the
114 * Time is "America/Los_Angeles.") Because older versions of this class used
120 * and pass it a time zone ID. You can use the createEnumeration() function to
121 * obtain a list of all the time zone IDs recognized by createTimeZone().
124 * platform-specific APIs to produce a TimeZone for the time zone corresponding to
127 * for Japanese Standard Time ("Asia/Tokyo").
137 * Returns the "unknown" time zone.
138 * It behaves like the GMT/UTC time zone but has the
140 * createTimeZone() returns a mutable clone of this time zone if the input ID is not recognized.
142 * @return the "unknown" time zone.
151 * The GMT (=UTC) time zone has a raw offset of zero and does not use daylight
152 * savings time. This is a commonly used time zone.
154 * <p>Note: For backward compatibility reason, the ID used by the time
156 * ID for the GMT time zone is "Etc/GMT".
158 * @return the GMT/UTC time zone.
178 * Returns an enumeration over system time zone IDs with the given
180 * @param zoneType The system time zone type.
185 * the effect of daylight savings time, if any.
199 * Returns an enumeration over all recognized time zone IDs. (i.e.,
208 * Returns an enumeration over time zone IDs with a given raw
211 * savings time. For example, the state of Arizona doesn't
212 * observe daylight savings time. If you ask for the time zone
214 * over two time zone IDs: "America/Denver," which corresponds to
215 * Mountain Standard Time in the winter and Mountain Daylight Time
217 * Mountain Standard Time year-round, even in the summer.
220 * the effect of daylight savings time, if any
227 * Returns an enumeration over time zone IDs associated with the
244 * The given ID must be a system time zone. If it is not, returns
246 * @param id a system time zone ID
262 * given id. If the given id is not a valid system time zone, or
264 * @param id a system time zone ID
277 * Creates a new copy of the default TimeZone for this host. Unless the default time
284 * @return A default TimeZone. Clients are responsible for deleting the time zone
291 * Sets the default time zone (i.e., what's returned by createDefault()) to be the
292 * specified time zone. If NULL is specified for the time zone, the default time
293 * zone is set to the default host time zone. This call adopts the TimeZone object
323 * custom time zone ID for the given time zone ID.
324 * @param id The input time zone ID to be canonicalized.
325 * @param canonicalID Receives the canonical system time zone ID
326 * or the custom time zone ID in normalized format.
327 * @param status Recevies the status. When the given time zone ID
328 * is neither a known system time zone ID nor a
329 * valid custom time zone ID, U_ILLEGAL_ARGUMENT_ERROR
338 * Returns the canonical system time zone ID or the normalized
339 * custom time zone ID for the given time zone ID.
340 * @param id The input time zone ID to be canonicalized.
341 * @param canonicalID Receives the canonical system time zone ID
342 * or the custom time zone ID in normalized format.
344 * time zone ID.
345 * @param status Recevies the status. When the given time zone ID
346 * is neither a known system time zone ID nor a
347 * valid custom time zone ID, U_ILLEGAL_ARGUMENT_ERROR
379 * to GMT to get local time in this time zone, taking daylight savings time into
381 * whether daylight savings time is in effect and needs to be figured into the offset
382 * that is returned (in other words, what is the adjusted GMT offset in this time zone
383 * at this particular date and time?). For the time zones produced by createTimeZone(),
385 * and time fields are local standard time.
388 * which returns both the raw and the DST offset for a given time. This method
396 * @param millis The reference date's milliseconds in day, local standard time
398 * @return The offset in milliseconds to add to GMT to get local time.
405 * Gets the time zone offset, for current date, modified in case of
406 * daylight savings. This is the offset to add *to* UTC to get local time.
409 * which returns both the raw and the DST offset for a given time. This method
418 * @param milliseconds the millis in day in <em>standard</em> local time.
421 * @return the offset to add *to* GMT to get local time.
429 * Returns the time zone raw and GMT offset for the given moment
430 * in time. Upon return, local-millis = GMT-millis + rawOffset +
435 * @param date moment in time for which to return offsets, in
437 * time or local wall time, depending on `local'.
438 * @param local if true, `date' is local wall time; otherwise it
439 * is in GMT time.
444 * total offset between local and GMT time. If DST is not in
456 * to GMT to get local time, before taking daylight savings time into account).
458 * @param offsetMillis The new raw GMT offset for this time zone.
465 * to GMT to get local time, before taking daylight savings time into account).
488 * the time zone's GMT offset and daylight-savings rules don't change to those for
491 * @param ID The new time zone ID.
523 * from time zone offset
529 * from time zone offset
535 * from the time zone's fallback name
541 * from the time zone's fallback name
548 * Returns a name of this time zone suitable for presentation to the user
554 * @param result the human-readable name of this time zone in the default locale.
561 * Returns a name of this time zone suitable for presentation to the user
568 * @param result the human-readable name of this time zone in the given locale
576 * Returns a name of this time zone suitable for presentation to the user
583 * @param result the human-readable name of this time zone in the default locale.
590 * Returns a name of this time zone suitable for presentation to the user
598 * @param result the human-readable name of this time zone in the given locale
606 * Queries if this time zone uses daylight savings time.
607 * @return true if this time zone uses daylight savings time,
611 * rule changes, for system time zones. With the implementation,
612 * there are time zones that used daylight savings time in the
614 * never used daylight savings time since 1951. Most clients would
617 * when the time zone uses daylight savings time in the current
621 * only checks if daylight saving time is observed by the last known
623 * if daylight saving time is currently observed, but not scheduled
634 * historic and future time zone rule iteration, so you can check if daylight saving
635 * time is observed or not within a given period.
642 * Queries if the given date is in daylight savings time in
643 * this time zone.
645 * deletes it each time it is called. This is a deprecated method
650 * @return true if the given date is in daylight savings time,
697 * Returns the amount of time to be added to local standard time
698 * to get local wall clock time.
701 * (i.e., one hour) if this time zone observes Daylight Saving
702 * Time. Otherwise, 0 (zero) is returned.
705 * historical Daylight Saving Time changes, this method returns
708 * @return the amount of saving time in milliseconds
715 * system time zone ID. The region code is either ISO 3166
717 * When the time zone is not associated with a specific location,
721 * @param id The system time zone ID.
724 * @param status Receives the status. When the given time zone ID
725 * is not a known system time zone ID,
743 * @param id a system time zone ID
779 static TimeZone* createCustomTimeZone(const UnicodeString&); // Creates a time zone based on the string.
784 * for ICU internal implementation and useful for building hashtable using a time zone
819 * Parses the given custom time zone identifier
832 * Parse a custom time zone identifier and return the normalized
833 * custom time zone identifier for the given custom id string.
845 * Returns the normalized custome time zone ID for the given offset fields.
858 * (i.e., platform-specific calls) to get the current system time zone. Failing
859 * that, uses the platform-specific default time zone. Failing that, uses GMT.
868 * @param name tthe given name of a system time zone.
874 UnicodeString fID; // this time zone's ID