Lines Matching refs:month
52 * count from the end of the month backwards. For example, if Daylight Savings
53 * Time starts or ends at the last Sunday a month, use <code>dayOfWeekInMonth = -1</code>
140 * @param savingsStartMonth The daylight savings starting month. Month is
143 * day-of-week-in-month. See setStartRule() for a
149 * @param savingsEndMonth The daylight savings ending month. Month is
151 * @param savingsEndDayOfWeekInMonth The daylight savings ending day-of-week-in-month.
181 * @param savingsStartMonth The daylight savings starting month. Month is
184 * day-of-week-in-month. See setStartRule() for a
190 * @param savingsEndMonth The daylight savings ending month. Month is
192 * @param savingsEndDayOfWeekInMonth The daylight savings ending day-of-week-in-month.
225 * @param savingsStartMonth The daylight savings starting month. Month is
228 * day-of-week-in-month. See setStartRule() for a
236 * @param savingsEndMonth The daylight savings ending month. Month is
238 * @param savingsEndDayOfWeekInMonth The daylight savings ending day-of-week-in-month.
279 * day of week in the month (e.g., (2, WEDNESDAY) is the second Wednesday
280 * of the month).</li>
282 * the day of week in the month counting backward from the end of the month.
283 * (e.g., (-1, MONDAY) is the last Monday in the month)</li>
285 * specifies the day of the month, regardless of what day of the week it is.
286 * (e.g., (10, 0) is the tenth day of the month)</li>
288 * specifies the day of the month counting backward from the end of the
289 * month, regardless of what day of the week it is (e.g., (-2, 0) is the
290 * next-to-last day of the month).</li>
292 * first specified day of the week on or after the specfied day of the month.
293 * (e.g., (15, -SUNDAY) is the first Sunday after the 15th of the month
296 * last specified day of the week on or before the specified day of the month.
297 * (e.g., (-20, -TUESDAY) is the last Tuesday before the 20th of the month
300 * @param month the daylight savings starting month. Month is 0-based.
303 * day-of-week-in-month. Please see the member description for an example.
311 void setStartRule(int32_t month, int32_t dayOfWeekInMonth, int32_t dayOfWeek,
323 * day of week in the month (e.g., (2, WEDNESDAY) is the second Wednesday
324 * of the month).</li>
326 * the day of week in the month counting backward from the end of the month.
327 * (e.g., (-1, MONDAY) is the last Monday in the month)</li>
329 * specifies the day of the month, regardless of what day of the week it is.
330 * (e.g., (10, 0) is the tenth day of the month)</li>
332 * specifies the day of the month counting backward from the end of the
333 * month, regardless of what day of the week it is (e.g., (-2, 0) is the
334 * next-to-last day of the month).</li>
336 * first specified day of the week on or after the specfied day of the month.
337 * (e.g., (15, -SUNDAY) is the first Sunday after the 15th of the month
340 * last specified day of the week on or before the specified day of the month.
341 * (e.g., (-20, -TUESDAY) is the last Tuesday before the 20th of the month
344 * @param month the daylight savings starting month. Month is 0-based.
347 * day-of-week-in-month. Please see the member description for an example.
357 void setStartRule(int32_t month, int32_t dayOfWeekInMonth, int32_t dayOfWeek,
361 * Sets the DST start rule to a fixed date within a month.
363 * @param month The month in which this rule occurs (0-based).
364 * @param dayOfMonth The date in that month (1-based).
371 void setStartRule(int32_t month, int32_t dayOfMonth, int32_t time,
374 * Sets the DST start rule to a fixed date within a month.
376 * @param month The month in which this rule occurs (0-based).
377 * @param dayOfMonth The date in that month (1-based).
386 void setStartRule(int32_t month, int32_t dayOfMonth, int32_t time,
391 * a month, e.g., the first Monday on or after the 8th.
393 * @param month The month in which this rule occurs (0-based).
394 * @param dayOfMonth A date within that month (1-based).
405 void setStartRule(int32_t month, int32_t dayOfMonth, int32_t dayOfWeek,
409 * a month, e.g., the first Monday on or after the 8th.
411 * @param month The month in which this rule occurs (0-based).
412 * @param dayOfMonth A date within that month (1-based).
425 void setStartRule(int32_t month, int32_t dayOfMonth, int32_t dayOfWeek,
439 * @param month the daylight savings ending month. Month is 0-based.
442 * day-of-week-in-month. See setStartRule() for a complete explanation.
450 void setEndRule(int32_t month, int32_t dayOfWeekInMonth, int32_t dayOfWeek,
464 * @param month the daylight savings ending month. Month is 0-based.
467 * day-of-week-in-month. See setStartRule() for a complete explanation.
477 void setEndRule(int32_t month, int32_t dayOfWeekInMonth, int32_t dayOfWeek,
481 * Sets the DST end rule to a fixed date within a month.
483 * @param month The month in which this rule occurs (0-based).
484 * @param dayOfMonth The date in that month (1-based).
491 void setEndRule(int32_t month, int32_t dayOfMonth, int32_t time, UErrorCode& status);
494 * Sets the DST end rule to a fixed date within a month.
496 * @param month The month in which this rule occurs (0-based).
497 * @param dayOfMonth The date in that month (1-based).
506 void setEndRule(int32_t month, int32_t dayOfMonth, int32_t time,
511 * a month, e.g., the first Monday on or after the 8th.
513 * @param month The month in which this rule occurs (0-based).
514 * @param dayOfMonth A date within that month (1-based).
525 void setEndRule(int32_t month, int32_t dayOfMonth, int32_t dayOfWeek,
530 * a month, e.g., the first Monday on or after the 8th.
532 * @param month The month in which this rule occurs (0-based).
533 * @param dayOfMonth A date within that month (1-based).
546 void setEndRule(int32_t month, int32_t dayOfMonth, int32_t dayOfWeek,
561 * @param month The reference date's month (0-based; 0 is January)
562 * @param day The reference date's day-in-month (1-based)
569 virtual int32_t getOffset(uint8_t era, int32_t year, int32_t month, int32_t day,
577 * @param month the month in the given date.
578 * Month is 0-based. e.g., 0 for January.
579 * @param day the day-in-month of the given date.
582 * @param monthLength the length of the given month in days.
587 virtual int32_t getOffset(uint8_t era, int32_t year, int32_t month, int32_t day,
595 * @param month the month in the given date.
596 * Month is 0-based. e.g., 0 for January.
597 * @param day the day-in-month of the given date.
600 * @param monthLength the length of the given month in days.
601 * @param prevMonthLength length of the previous month in days.
606 virtual int32_t getOffset(uint8_t era, int32_t year, int32_t month, int32_t day,
798 * @param startMonth the month DST starts
804 * @param endMonth the month DST ends
830 static int32_t compareToRule(int8_t month, int8_t monthLen, int8_t prevMonthLen,
842 * negative, in order to indicate special modes. The day of month
846 * set, and the day of week and day of month variables will be positive.
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
883 inline void SimpleTimeZone::setStartRule(int32_t month, int32_t dayOfWeekInMonth,
886 setStartRule(month, dayOfWeekInMonth, dayOfWeek, time, WALL_TIME, status);
889 inline void SimpleTimeZone::setStartRule(int32_t month, int32_t dayOfMonth,
892 setStartRule(month, dayOfMonth, time, WALL_TIME, status);
895 inline void SimpleTimeZone::setStartRule(int32_t month, int32_t dayOfMonth,
898 setStartRule(month, dayOfMonth, dayOfWeek, time, WALL_TIME, after, status);
901 inline void SimpleTimeZone::setEndRule(int32_t month, int32_t dayOfWeekInMonth,
904 setEndRule(month, dayOfWeekInMonth, dayOfWeek, time, WALL_TIME, status);
907 inline void SimpleTimeZone::setEndRule(int32_t month, int32_t dayOfMonth,
909 setEndRule(month, dayOfMonth, time, WALL_TIME, status);
912 inline void SimpleTimeZone::setEndRule(int32_t month, int32_t dayOfMonth, int32_t dayOfWeek,
914 setEndRule(month, dayOfMonth, dayOfWeek, time, WALL_TIME, after, status);