Lines Matching defs:time
51 * that represents a time zone for use with a Gregorian calendar. This
54 * When specifying daylight-savings-time begin and end dates, use a negative value for
70 * midnight, to specify a rule transition time. Most rules
71 * transition at a local wall time, that is, according to the
72 * current time in effect, either standard, or DST. However, some
73 * rules transition at local standard time, and some at a specific
74 * UTC time. Although it might seem that all times could be
75 * converted to wall time, thus eliminating the need for this
110 * @return true if the given time zone is equal to this time zone; false
117 * Constructs a SimpleTimeZone with the given raw GMT offset and time zone ID,
118 * and which doesn't observe daylight savings time. Normally you should use
122 * @param rawOffsetGMT The given base time zone offset to GMT.
130 * Construct a SimpleTimeZone with the given raw GMT offset, time zone ID,
131 * and times to start and end daylight savings time. To create a TimeZone that
132 * doesn't observe daylight savings time, don't use this constructor; use
137 * Various types of daylight-savings time rules can be specified by using different
143 * @param ID The new SimpleTimeZone's time zone ID.
151 * @param savingsStartTime The daylight savings starting time, expressed as the
159 * @param savingsEndTime The daylight savings ending time, expressed as the
171 * Construct a SimpleTimeZone with the given raw GMT offset, time zone ID,
172 * and times to start and end daylight savings time. To create a TimeZone that
173 * doesn't observe daylight savings time, don't use this constructor; use
178 * Various types of daylight-savings time rules can be specified by using different
184 * @param ID The new SimpleTimeZone's time zone ID.
192 * @param savingsStartTime The daylight savings starting time, expressed as the
200 * @param savingsEndTime The daylight savings ending time, expressed as the
202 * @param savingsDST The number of milliseconds added to standard time
203 * to get DST time. Default is one hour.
215 * Construct a SimpleTimeZone with the given raw GMT offset, time zone ID,
216 * and times to start and end daylight savings time. To create a TimeZone that
217 * doesn't observe daylight savings time, don't use this constructor; use
222 * Various types of daylight-savings time rules can be specified by using different
228 * @param ID The new SimpleTimeZone's time zone ID.
236 * @param savingsStartTime The daylight savings starting time, expressed as the
238 * @param savingsStartTimeMode Whether the start time is local wall time, local
239 * standard time, or UTC time. Default is local wall time.
246 * @param savingsEndTime The daylight savings ending time, expressed as the
248 * @param savingsEndTimeMode Whether the end time is local wall time, local
249 * standard time, or UTC time. Default is local wall time.
250 * @param savingsDST The number of milliseconds added to standard time
251 * to get DST time. Default is one hour.
264 * Sets the daylight savings starting year, that is, the year this time zone began
265 * observing its specified daylight savings time rules. The time zone is considered
266 * not to observe daylight savings time prior to that year; SimpleTimeZone doesn't
267 * support historical daylight-savings-time rules.
275 * Time starts at the second Sunday in March, at 2 AM in standard time.
310 * @param time the daylight savings starting time. Please see the member
316 int32_t time, UErrorCode& status);
319 * Time starts at the second Sunday in March, at 2 AM in standard time.
354 * @param time the daylight savings starting time. Please see the member
356 * @param mode whether the time is local wall time, local standard time,
357 * or UTC time. Default is local wall time.
362 int32_t time, TimeMode mode, UErrorCode& status);
369 * @param time The time of that day (number of millis after midnight)
370 * when DST takes effect in local wall time, which is
371 * standard time in this case.
375 void setStartRule(int32_t month, int32_t dayOfMonth, int32_t time,
382 * @param time The time of that day (number of millis after midnight)
383 * when DST takes effect in local wall time, which is
384 * standard time in this case.
385 * @param mode whether the time is local wall time, local standard time,
386 * or UTC time. Default is local wall time.
390 void setStartRule(int32_t month, int32_t dayOfMonth, int32_t time,
400 * @param time The time of that day (number of millis after midnight)
401 * when DST takes effect in local wall time, which is
402 * standard time in this case.
410 int32_t time, UBool after, UErrorCode& status);
418 * @param time The time of that day (number of millis after midnight)
419 * when DST takes effect in local wall time, which is
420 * standard time in this case.
421 * @param mode whether the time is local wall time, local standard time,
422 * or UTC time. Default is local wall time.
430 int32_t time, TimeMode mode, UBool after, UErrorCode& status);
434 * Savings Time ends at the last (-1) Sunday in October, at 2 AM in standard time.
449 * @param time the daylight savings ending time. Please see the member
455 int32_t time, UErrorCode& status);
459 * Savings Time ends at the last (-1) Sunday in October, at 2 AM in standard time.
474 * @param time the daylight savings ending time. Please see the member
476 * @param mode whether the time is local wall time, local standard time,
477 * or UTC time. Default is local wall time.
482 int32_t time, TimeMode mode, UErrorCode& status);
489 * @param time The time of that day (number of millis after midnight)
490 * when DST ends in local wall time, which is daylight
491 * time in this case.
495 void setEndRule(int32_t month, int32_t dayOfMonth, int32_t time, UErrorCode& status);
502 * @param time The time of that day (number of millis after midnight)
503 * when DST ends in local wall time, which is daylight
504 * time in this case.
505 * @param mode whether the time is local wall time, local standard time,
506 * or UTC time. Default is local wall time.
510 void setEndRule(int32_t month, int32_t dayOfMonth, int32_t time,
520 * @param time The time of that day (number of millis after midnight)
521 * when DST ends in local wall time, which is daylight
522 * time in this case.
530 int32_t time, UBool after, UErrorCode& status);
539 * @param time The time of that day (number of millis after midnight)
540 * when DST ends in local wall time, which is daylight
541 * time in this case.
542 * @param mode whether the time is local wall time, local standard time,
543 * or UTC time. Default is local wall time.
551 int32_t time, TimeMode mode, UBool after, UErrorCode& status);
555 * to GMT to get local time in this time zone, taking daylight savings time into
557 * whether daylight savings time is in effect and needs to be figured into the offset
558 * that is returned (in other words, what is the adjusted GMT offset in this time zone
559 * at this particular date and time?). For the time zones produced by createTimeZone(),
561 * and time fields are in GMT, NOT local time.
568 * @param millis The reference date's milliseconds in day, UTT (NOT local time).
570 * @return The offset in milliseconds to add to GMT to get local time.
577 * Gets the time zone offset, for current date, modified in case of
578 * daylight savings. This is the offset to add *to* UTC to get local time.
585 * @param milliseconds the millis in day in <em>standard</em> local time.
588 * @return the offset to add *to* GMT to get local time.
595 * Gets the time zone offset, for current date, modified in case of
596 * daylight savings. This is the offset to add *to* UTC to get local time.
603 * @param milliseconds the millis in day in <em>standard</em> local time.
607 * @return the offset to add *to* GMT to get local time.
624 * Get time zone offsets from local wall time.
634 * to GMT to get local time, before taking daylight savings time into account).
643 * to GMT to get local time, before taking daylight savings time into account).
645 * @param offsetMillis The new raw GMT offset for this time zone.
651 * Sets the amount of time in ms that the clock is advanced during DST.
652 * @param millisSavedDuringDST the number of milliseconds the time is
653 * advanced with respect to standard time when the daylight savings rules
662 * Returns the amount of time in ms that the clock is advanced during DST.
663 * @return the number of milliseconds the time is
664 * advanced with respect to standard time when the daylight savings rules
681 * Returns true if the given date is within the period when daylight savings time
683 * time, this functions always returns false.
685 * deletes it each time it is called. This is a deprecated method
715 * Gets the first time zone transition after 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 first transition after the base time.
725 * Gets the most recent time zone transition before the base time.
726 * @param base The base time.
727 * @param inclusive Whether the base time is inclusive or not.
728 * @param result Receives the most recent transition before the base time.
735 * Returns the number of <code>TimeZoneRule</code>s which represents time transitions,
736 * for this time zone, that is, all <code>TimeZoneRule</code>s for this time zone except
739 * @return The number of <code>TimeZoneRule</code>s representing time transitions.
746 * which represent time transitions for this time zone. On successful return,
750 * rule instance held by this time zone instance. Therefore, after this time zone
811 * @param startTime the time DST starts
812 * @param startTimeMode Whether the start time is local wall time, local
813 * standard time, or UTC time. Default is local wall time.
817 * @param endTime the time DST ends
818 * @param endTimeMode Whether the end time is local wall time, local
819 * standard time, or UTC time. Default is local wall time.
820 * @param dstSavings The number of milliseconds added to standard time
821 * to get DST time. Default is one hour.
865 int8_t startMonth, startDay, startDayOfWeek; // the month, day, DOW, and time DST starts
868 int8_t endMonth, endDay, endDayOfWeek; // the month, day, DOW, and time DST ends
877 * A positive value indicating the amount of time saved during DST in ms.
896 int32_t time, UErrorCode& status) {
897 setStartRule(month, dayOfWeekInMonth, dayOfWeek, time, WALL_TIME, status);
901 int32_t time,
903 setStartRule(month, dayOfMonth, time, WALL_TIME, status);
908 int32_t time, UBool after, UErrorCode& status) {
909 setStartRule(month, dayOfMonth, dayOfWeek, time, WALL_TIME, after, status);
914 int32_t time, UErrorCode& status) {
915 setEndRule(month, dayOfWeekInMonth, dayOfWeek, time, WALL_TIME, status);
919 int32_t time, UErrorCode& status) {
920 setEndRule(month, dayOfMonth, time, WALL_TIME, status);
924 int32_t time, UBool after, UErrorCode& status) {
925 setEndRule(month, dayOfMonth, dayOfWeek, time, WALL_TIME, after, status);