Lines Matching defs:month

56  * count from the end of the month backwards. For example, if Daylight Savings
57 * Time starts or ends at the last Sunday a month, use <code>dayOfWeekInMonth = -1</code>
144 * @param savingsStartMonth The daylight savings starting month. Month is
147 * day-of-week-in-month. See setStartRule() for a
153 * @param savingsEndMonth The daylight savings ending month. Month is
155 * @param savingsEndDayOfWeekInMonth The daylight savings ending day-of-week-in-month.
185 * @param savingsStartMonth The daylight savings starting month. Month is
188 * day-of-week-in-month. See setStartRule() for a
194 * @param savingsEndMonth The daylight savings ending month. Month is
196 * @param savingsEndDayOfWeekInMonth The daylight savings ending day-of-week-in-month.
229 * @param savingsStartMonth The daylight savings starting month. Month is
232 * day-of-week-in-month. See setStartRule() for a
240 * @param savingsEndMonth The daylight savings ending month. Month is
242 * @param savingsEndDayOfWeekInMonth The daylight savings ending day-of-week-in-month.
283 * day of week in the month (e.g., (2, WEDNESDAY) is the second Wednesday
284 * of the month).</li>
286 * the day of week in the month counting backward from the end of the month.
287 * (e.g., (-1, MONDAY) is the last Monday in the month)</li>
289 * specifies the day of the month, regardless of what day of the week it is.
290 * (e.g., (10, 0) is the tenth day of the month)</li>
292 * specifies the day of the month counting backward from the end of the
293 * month, regardless of what day of the week it is (e.g., (-2, 0) is the
294 * next-to-last day of the month).</li>
296 * first specified day of the week on or after the specified day of the month.
297 * (e.g., (15, -SUNDAY) is the first Sunday after the 15th of the month
300 * last specified day of the week on or before the specified day of the month.
301 * (e.g., (-20, -TUESDAY) is the last Tuesday before the 20th of the month
304 * @param month the daylight savings starting month. Month is 0-based.
307 * day-of-week-in-month. Please see the member description for an example.
315 void setStartRule(int32_t month, int32_t dayOfWeekInMonth, int32_t dayOfWeek,
327 * day of week in the month (e.g., (2, WEDNESDAY) is the second Wednesday
328 * of the month).</li>
330 * the day of week in the month counting backward from the end of the month.
331 * (e.g., (-1, MONDAY) is the last Monday in the month)</li>
333 * specifies the day of the month, regardless of what day of the week it is.
334 * (e.g., (10, 0) is the tenth day of the month)</li>
336 * specifies the day of the month counting backward from the end of the
337 * month, regardless of what day of the week it is (e.g., (-2, 0) is the
338 * next-to-last day of the month).</li>
340 * first specified day of the week on or after the specified day of the month.
341 * (e.g., (15, -SUNDAY) is the first Sunday after the 15th of the month
344 * last specified day of the week on or before the specified day of the month.
345 * (e.g., (-20, -TUESDAY) is the last Tuesday before the 20th of the month
348 * @param month the daylight savings starting month. Month is 0-based.
351 * day-of-week-in-month. Please see the member description for an example.
361 void setStartRule(int32_t month, int32_t dayOfWeekInMonth, int32_t dayOfWeek,
365 * Sets the DST start rule to a fixed date within a month.
367 * @param month The month in which this rule occurs (0-based).
368 * @param dayOfMonth The date in that month (1-based).
375 void setStartRule(int32_t month, int32_t dayOfMonth, int32_t time,
378 * Sets the DST start rule to a fixed date within a month.
380 * @param month The month in which this rule occurs (0-based).
381 * @param dayOfMonth The date in that month (1-based).
390 void setStartRule(int32_t month, int32_t dayOfMonth, int32_t time,
395 * a month, e.g., the first Monday on or after the 8th.
397 * @param month The month in which this rule occurs (0-based).
398 * @param dayOfMonth A date within that month (1-based).
409 void setStartRule(int32_t month, int32_t dayOfMonth, int32_t dayOfWeek,
413 * a month, e.g., the first Monday on or after the 8th.
415 * @param month The month in which this rule occurs (0-based).
416 * @param dayOfMonth A date within that month (1-based).
429 void setStartRule(int32_t month, int32_t dayOfMonth, int32_t dayOfWeek,
443 * @param month the daylight savings ending month. Month is 0-based.
446 * day-of-week-in-month. See setStartRule() for a complete explanation.
454 void setEndRule(int32_t month, int32_t dayOfWeekInMonth, int32_t dayOfWeek,
468 * @param month the daylight savings ending month. Month is 0-based.
471 * day-of-week-in-month. See setStartRule() for a complete explanation.
481 void setEndRule(int32_t month, int32_t dayOfWeekInMonth, int32_t dayOfWeek,
485 * Sets the DST end rule to a fixed date within a month.
487 * @param month The month in which this rule occurs (0-based).
488 * @param dayOfMonth The date in that month (1-based).
495 void setEndRule(int32_t month, int32_t dayOfMonth, int32_t time, UErrorCode& status);
498 * Sets the DST end rule to a fixed date within a month.
500 * @param month The month in which this rule occurs (0-based).
501 * @param dayOfMonth The date in that month (1-based).
510 void setEndRule(int32_t month, int32_t dayOfMonth, int32_t time,
515 * a month, e.g., the first Monday on or after the 8th.
517 * @param month The month in which this rule occurs (0-based).
518 * @param dayOfMonth A date within that month (1-based).
529 void setEndRule(int32_t month, int32_t dayOfMonth, int32_t dayOfWeek,
534 * a month, e.g., the first Monday on or after the 8th.
536 * @param month The month in which this rule occurs (0-based).
537 * @param dayOfMonth A date within that month (1-based).
550 void setEndRule(int32_t month, int32_t dayOfMonth, int32_t dayOfWeek,
565 * @param month The reference date's month (0-based; 0 is January)
566 * @param day The reference date's day-in-month (1-based)
573 virtual int32_t getOffset(uint8_t era, int32_t year, int32_t month, int32_t day,
581 * @param month the month in the given date.
583 * @param day the day-in-month of the given date.
586 * @param monthLength the length of the given month in days.
591 virtual int32_t getOffset(uint8_t era, int32_t year, int32_t month, int32_t day,
599 * @param month the month in the given date.
601 * @param day the day-in-month of the given date.
604 * @param monthLength the length of the given month in days.
605 * @param prevMonthLength length of the previous month in days.
610 virtual int32_t getOffset(uint8_t era, int32_t year, int32_t month, int32_t day,
808 * @param startMonth the month DST starts
814 * @param endMonth the month DST ends
840 static int32_t compareToRule(int8_t month, int8_t monthLen, int8_t prevMonthLen,
852 * negative, in order to indicate special modes. The day of month
856 * set, and the day of week and day of month variables will be positive.
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
894 inline void SimpleTimeZone::setStartRule(int32_t month, int32_t dayOfWeekInMonth,
897 setStartRule(month, dayOfWeekInMonth, dayOfWeek, time, WALL_TIME, status);
900 inline void SimpleTimeZone::setStartRule(int32_t month, int32_t dayOfMonth,
903 setStartRule(month, dayOfMonth, time, WALL_TIME, status);
906 inline void SimpleTimeZone::setStartRule(int32_t month, int32_t dayOfMonth,
909 setStartRule(month, dayOfMonth, dayOfWeek, time, WALL_TIME, after, status);
912 inline void SimpleTimeZone::setEndRule(int32_t month, int32_t dayOfWeekInMonth,
915 setEndRule(month, dayOfWeekInMonth, dayOfWeek, time, WALL_TIME, status);
918 inline void SimpleTimeZone::setEndRule(int32_t month, int32_t dayOfMonth,
920 setEndRule(month, dayOfMonth, time, WALL_TIME, status);
923 inline void SimpleTimeZone::setEndRule(int32_t month, int32_t dayOfMonth, int32_t dayOfWeek,
925 setEndRule(month, dayOfMonth, dayOfWeek, time, WALL_TIME, after, status);