Lines Matching refs:time

47  * that represents a time zone for use with a Gregorian calendar. This
50 * When specifying daylight-savings-time begin and end dates, use a negative value for
66 * midnight, to specify a rule transition time. Most rules
67 * transition at a local wall time, that is, according to the
68 * current time in effect, either standard, or DST. However, some
69 * rules transition at local standard time, and some at a specific
70 * UTC time. Although it might seem that all times could be
71 * converted to wall time, thus eliminating the need for this
106 * @return True if the given time zone is equal to this time zone; false
113 * Constructs a SimpleTimeZone with the given raw GMT offset and time zone ID,
114 * and which doesn't observe daylight savings time. Normally you should use
118 * @param rawOffsetGMT The given base time zone offset to GMT.
126 * Construct a SimpleTimeZone with the given raw GMT offset, time zone ID,
127 * and times to start and end daylight savings time. To create a TimeZone that
128 * doesn't observe daylight savings time, don't use this constructor; use
133 * Various types of daylight-savings time rules can be specfied by using different
139 * @param ID The new SimpleTimeZone's time zone ID.
147 * @param savingsStartTime The daylight savings starting time, expressed as the
155 * @param savingsEndTime The daylight savings ending time, expressed as the
167 * Construct a SimpleTimeZone with the given raw GMT offset, time zone ID,
168 * and times to start and end daylight savings time. To create a TimeZone that
169 * doesn't observe daylight savings time, don't use this constructor; use
174 * Various types of daylight-savings time rules can be specfied by using different
180 * @param ID The new SimpleTimeZone's time zone ID.
188 * @param savingsStartTime The daylight savings starting time, expressed as the
196 * @param savingsEndTime The daylight savings ending time, expressed as the
198 * @param savingsDST The number of milliseconds added to standard time
199 * to get DST time. Default is one hour.
211 * Construct a SimpleTimeZone with the given raw GMT offset, time zone ID,
212 * and times to start and end daylight savings time. To create a TimeZone that
213 * doesn't observe daylight savings time, don't use this constructor; use
218 * Various types of daylight-savings time rules can be specfied by using different
224 * @param ID The new SimpleTimeZone's time zone ID.
232 * @param savingsStartTime The daylight savings starting time, expressed as the
234 * @param savingsStartTimeMode Whether the start time is local wall time, local
235 * standard time, or UTC time. Default is local wall time.
242 * @param savingsEndTime The daylight savings ending time, expressed as the
244 * @param savingsEndTimeMode Whether the end time is local wall time, local
245 * standard time, or UTC time. Default is local wall time.
246 * @param savingsDST The number of milliseconds added to standard time
247 * to get DST time. Default is one hour.
260 * Sets the daylight savings starting year, that is, the year this time zone began
261 * observing its specified daylight savings time rules. The time zone is considered
262 * not to observe daylight savings time prior to that year; SimpleTimeZone doesn't
263 * support historical daylight-savings-time rules.
271 * Time starts at the second Sunday in March, at 2 AM in standard time.
306 * @param time the daylight savings starting time. Please see the member
312 int32_t time, UErrorCode& status);
315 * Time starts at the second Sunday in March, at 2 AM in standard time.
350 * @param time the daylight savings starting time. Please see the member
352 * @param mode whether the time is local wall time, local standard time,
353 * or UTC time. Default is local wall time.
358 int32_t time, TimeMode mode, UErrorCode& status);
365 * @param time The time of that day (number of millis after midnight)
366 * when DST takes effect in local wall time, which is
367 * standard time in this case.
371 void setStartRule(int32_t month, int32_t dayOfMonth, int32_t time,
378 * @param time The time of that day (number of millis after midnight)
379 * when DST takes effect in local wall time, which is
380 * standard time in this case.
381 * @param mode whether the time is local wall time, local standard time,
382 * or UTC time. Default is local wall time.
386 void setStartRule(int32_t month, int32_t dayOfMonth, int32_t time,
396 * @param time The time of that day (number of millis after midnight)
397 * when DST takes effect in local wall time, which is
398 * standard time in this case.
406 int32_t time, UBool after, UErrorCode& status);
414 * @param time The time of that day (number of millis after midnight)
415 * when DST takes effect in local wall time, which is
416 * standard time in this case.
417 * @param mode whether the time is local wall time, local standard time,
418 * or UTC time. Default is local wall time.
426 int32_t time, TimeMode mode, UBool after, UErrorCode& status);
430 * Savings Time ends at the last (-1) Sunday in October, at 2 AM in standard time.
445 * @param time the daylight savings ending time. Please see the member
451 int32_t time, UErrorCode& status);
455 * Savings Time ends at the last (-1) Sunday in October, at 2 AM in standard time.
470 * @param time the daylight savings ending time. Please see the member
472 * @param mode whether the time is local wall time, local standard time,
473 * or UTC time. Default is local wall time.
478 int32_t time, TimeMode mode, UErrorCode& status);
485 * @param time The time of that day (number of millis after midnight)
486 * when DST ends in local wall time, which is daylight
487 * time in this case.
491 void setEndRule(int32_t month, int32_t dayOfMonth, int32_t time, UErrorCode& status);
498 * @param time The time of that day (number of millis after midnight)
499 * when DST ends in local wall time, which is daylight
500 * time in this case.
501 * @param mode whether the time is local wall time, local standard time,
502 * or UTC time. Default is local wall time.
506 void setEndRule(int32_t month, int32_t dayOfMonth, int32_t time,
516 * @param time The time of that day (number of millis after midnight)
517 * when DST ends in local wall time, which is daylight
518 * time in this case.
526 int32_t time, UBool after, UErrorCode& status);
535 * @param time The time of that day (number of millis after midnight)
536 * when DST ends in local wall time, which is daylight
537 * time in this case.
538 * @param mode whether the time is local wall time, local standard time,
539 * or UTC time. Default is local wall time.
547 int32_t time, TimeMode mode, UBool after, UErrorCode& status);
551 * to GMT to get local time in this time zone, taking daylight savings time into
553 * whether daylight savings time is in effect and needs to be figured into the offset
554 * that is returned (in other words, what is the adjusted GMT offset in this time zone
555 * at this particular date and time?). For the time zones produced by createTimeZone(),
557 * and time fields are in GMT, NOT local time.
564 * @param millis The reference date's milliseconds in day, UTT (NOT local time).
566 * @return The offset in milliseconds to add to GMT to get local time.
573 * Gets the time zone offset, for current date, modified in case of
574 * daylight savings. This is the offset to add *to* UTC to get local time.
581 * @param milliseconds the millis in day in <em>standard</em> local time.
584 * @return the offset to add *to* GMT to get local time.
591 * Gets the time zone offset, for current date, modified in case of
592 * daylight savings. This is the offset to add *to* UTC to get local time.
599 * @param milliseconds the millis in day in <em>standard</em> local time.
603 * @return the offset to add *to* GMT to get local time.
620 * Get time zone offsets from local wall time.
628 * to GMT to get local time, before taking daylight savings time into account).
637 * to GMT to get local time, before taking daylight savings time into account).
639 * @param offsetMillis The new raw GMT offset for this time zone.
645 * Sets the amount of time in ms that the clock is advanced during DST.
646 * @param millisSavedDuringDST the number of milliseconds the time is
647 * advanced with respect to standard time when the daylight savings rules
655 * Returns the amount of time in ms that the clock is advanced during DST.
656 * @return the number of milliseconds the time is
657 * advanced with respect to standard time when the daylight savings rules
672 * Returns true if the given date is within the period when daylight savings time
674 * time, this functions always returns false.
676 * deletes it each time it is called. This is a deprecated method
705 * Gets the first time zone transition after the base time.
706 * @param base The base time.
707 * @param inclusive Whether the base time is inclusive or not.
708 * @param result Receives the first transition after the base time.
715 * Gets the most recent time zone transition before the base time.
716 * @param base The base time.
717 * @param inclusive Whether the base time is inclusive or not.
718 * @param result Receives the most recent transition before the base time.
725 * Returns the number of <code>TimeZoneRule</code>s which represents time transitions,
726 * for this time zone, that is, all <code>TimeZoneRule</code>s for this time zone except
729 * @return The number of <code>TimeZoneRule</code>s representing time transitions.
736 * which represent time transitions for this time zone. On successful return,
740 * rule instance held by this time zone instance. Therefore, after this time zone
801 * @param startTime the time DST starts
802 * @param startTimeMode Whether the start time is local wall time, local
803 * standard time, or UTC time. Default is local wall time.
807 * @param endTime the time DST ends
808 * @param endTimeMode Whether the end time is local wall time, local
809 * standard time, or UTC time. Default is local wall time.
810 * @param dstSavings The number of milliseconds added to standard time
811 * to get DST time. Default is one hour.
855 int8_t startMonth, startDay, startDayOfWeek; // the month, day, DOW, and time DST starts
858 int8_t endMonth, endDay, endDayOfWeek; // the month, day, DOW, and time DST ends
867 * A positive value indicating the amount of time saved during DST in ms.
885 int32_t time, UErrorCode& status) {
886 setStartRule(month, dayOfWeekInMonth, dayOfWeek, time, WALL_TIME, status);
890 int32_t time,
892 setStartRule(month, dayOfMonth, time, WALL_TIME, status);
897 int32_t time, UBool after, UErrorCode& status) {
898 setStartRule(month, dayOfMonth, dayOfWeek, time, WALL_TIME, after, status);
903 int32_t time, UErrorCode& status) {
904 setEndRule(month, dayOfWeekInMonth, dayOfWeek, time, WALL_TIME, status);
908 int32_t time, UErrorCode& status) {
909 setEndRule(month, dayOfMonth, time, WALL_TIME, status);
913 int32_t time, UBool after, UErrorCode& status) {
914 setEndRule(month, dayOfMonth, dayOfWeek, time, WALL_TIME, after, status);