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
297 * to concurrently attempt to set the default time zone, or for any thread
329 * custom time zone ID for the given time zone ID.
330 * @param id The input time zone ID to be canonicalized.
331 * @param canonicalID Receives the canonical system time zone ID
332 * or the custom time zone ID in normalized format.
333 * @param status Receives the status. When the given time zone ID
334 * is neither a known system time zone ID nor a
335 * valid custom time zone ID, U_ILLEGAL_ARGUMENT_ERROR
344 * Returns the canonical system time zone ID or the normalized
345 * custom time zone ID for the given time zone ID.
346 * @param id The input time zone ID to be canonicalized.
347 * @param canonicalID Receives the canonical system time zone ID
348 * or the custom time zone ID in normalized format.
350 * time zone ID.
351 * @param status Receives the status. When the given time zone ID
352 * is neither a known system time zone ID nor a
353 * valid custom time zone ID, U_ILLEGAL_ARGUMENT_ERROR
363 * Converts a system time zone ID to an equivalent Windows time zone ID. For example,
364 * Windows time zone ID "Pacific Standard Time" is returned for input "America/Los_Angeles".
366 * <p>There are system time zones that cannot be mapped to Windows zones. When the input
367 * system timetime zone, then the result will be
371 * Zone-Tzid mapping data</a>. The mapping data is updated time to time. To get the latest changes,
372 * please read the ICU user guide section <a href="http://userguide.icu-project.org/datetime/timezone#TOC-Updating-the-Time-Zone-Data">
373 * Updating the Time Zone Data</a>.
375 * @param id A system time zone ID.
376 * @param winid Receives a Windows time zone ID. When the input system time zone ID is unknown
377 * or unmappable to a Windows time zone ID, then an empty string is set on return.
388 * Converts a Windows time zone ID to an equivalent system time zone ID
389 * for a region. For example, system time zone ID "America/Los_Angeles" is returned
390 * for input Windows ID "Pacific Standard Time" and region "US" (or <code>null</code>),
391 * "America/Vancouver" is returned for the same Windows ID "Pacific Standard Time" and
394 * <p>Not all Windows time zones can be mapped to system time zones. When the input
395 * Windows time zone ID is unknown or unmappable to a system time zone, then the result
399 * Zone-Tzid mapping data</a>. The mapping data is updated time to time. To get the latest changes,
400 * please read the ICU user guide section <a href="http://userguide.icu-project.org/datetime/timezone#TOC-Updating-the-Time-Zone-Data">
401 * Updating the Time Zone Data</a>.
403 * @param winid A Windows time zone ID.
405 * @param id Receives a system time zone ID. When the input Windows time zone ID is unknown
406 * or unmappable to a system time zone ID, then an empty string is set on return.
442 * to GMT to get local time in this time zone, taking daylight savings time into
444 * whether daylight savings time is in effect and needs to be figured into the offset
445 * that is returned (in other words, what is the adjusted GMT offset in this time zone
446 * at this particular date and time?). For the time zones produced by createTimeZone(),
448 * and time fields are local standard time.
451 * which returns both the raw and the DST offset for a given time. This method
459 * @param millis The reference date's milliseconds in day, local standard time
461 * @return The offset in milliseconds to add to GMT to get local time.
468 * Gets the time zone offset, for current date, modified in case of
469 * daylight savings. This is the offset to add *to* UTC to get local time.
472 * which returns both the raw and the DST offset for a given time. This method
481 * @param milliseconds the millis in day in <em>standard</em> local time.
484 * @return the offset to add *to* GMT to get local time.
492 * Returns the time zone raw and GMT offset for the given moment
493 * in time. Upon return, local-millis = GMT-millis + rawOffset +
498 * @param date moment in time for which to return offsets, in
500 * time or local wall time, depending on `local'.
501 * @param local if true, `date' is local wall time; otherwise it
502 * is in GMT time.
507 * total offset between local and GMT time. If DST is not in
519 * to GMT to get local time, before taking daylight savings time into account).
521 * @param offsetMillis The new raw GMT offset for this time zone.
528 * to GMT to get local time, before taking daylight savings time into account).
551 * the time zone's GMT offset and daylight-savings rules don't change to those for
554 * @param ID The new time zone ID.
586 * from time zone offset
592 * from time zone offset
598 * from the time zone's fallback name
604 * from the time zone's fallback name
611 * Returns a name of this time zone suitable for presentation to the user
617 * @param result the human-readable name of this time zone in the default locale.
624 * Returns a name of this time zone suitable for presentation to the user
631 * @param result the human-readable name of this time zone in the given locale
639 * Returns a name of this time zone suitable for presentation to the user
646 * @param result the human-readable name of this time zone in the default locale.
653 * Returns a name of this time zone suitable for presentation to the user
661 * @param result the human-readable name of this time zone in the given locale
669 * Queries if this time zone uses daylight savings time.
670 * @return true if this time zone uses daylight savings time,
674 * rule changes, for system time zones. With the implementation,
675 * there are time zones that used daylight savings time in the
677 * never used daylight savings time since 1951. Most clients would
680 * when the time zone uses daylight savings time in the current
684 * only checks if daylight saving time is observed by the last known
686 * if daylight saving time is currently observed, but not scheduled
697 * historic and future time zone rule iteration, so you can check if daylight saving
698 * time is observed or not within a given period.
705 * Queries if the given date is in daylight savings time in
706 * this time zone.
708 * deletes it each time it is called. This is a deprecated method
713 * @return true if the given date is in daylight savings time,
760 * Returns the amount of time to be added to local standard time
761 * to get local wall clock time.
764 * (i.e., one hour) if this time zone observes Daylight Saving
765 * Time. Otherwise, 0 (zero) is returned.
768 * historical Daylight Saving Time changes, this method returns
771 * @return the amount of saving time in milliseconds
778 * system time zone ID. The region code is either ISO 3166
780 * When the time zone is not associated with a specific location,
784 * @param id The system time zone ID.
787 * @param status Receives the status. When the given time zone ID
788 * is not a known system time zone ID,
806 * @param id a system time zone ID
842 static TimeZone* createCustomTimeZone(const UnicodeString&); // Creates a time zone based on the string.
847 * for ICU internal implementation and useful for building hashtable using a time zone
887 * Parses the given custom time zone identifier
900 * Parse a custom time zone identifier and return the normalized
901 * custom time zone identifier for the given custom id string.
913 * Returns the normalized custome time zone ID for the given offset fields.
924 UnicodeString fID; // this time zone's ID