Lines Matching defs:month

62  * starts or ends is specified by a combination of <em>month</em>,
63 * <em>day-of-month</em>, and <em>day-of-week</em> values. The <em>month</em>
71 * <li><b>Exact day of month</b><br>
72 * To specify an exact day of month, set the <em>month</em> and
73 * <em>day-of-month</em> to an exact value, and <em>day-of-week</em> to zero. For
74 * example, to specify March 1, set the <em>month</em> to {@link Calendar#MARCH
75 * MARCH}, <em>day-of-month</em> to 1, and <em>day-of-week</em> to 0.</li>
77 * <li><b>Day of week on or after day of month</b><br>
78 * To specify a day of week on or after an exact day of month, set the
79 * <em>month</em> to an exact month value, <em>day-of-month</em> to the day on
82 * second Sunday of April, set <em>month</em> to {@link Calendar#APRIL APRIL},
83 * <em>day-of-month</em> to 8, and <em>day-of-week</em> to <code>-</code>{@link
86 * <li><b>Day of week on or before day of month</b><br>
87 * To specify a day of the week on or before an exact day of the month, set
88 * <em>day-of-month</em> and <em>day-of-week</em> to a negative value. For
90 * <em>month</em> to {@link Calendar#MARCH MARCH}, <em>day-of-month</em> is -21
93 * <li><b>Last day-of-week of month</b><br>
94 * To specify, the last day-of-week of the month, set <em>day-of-week</em> to a
95 * {@link Calendar#DAY_OF_WEEK DAY_OF_WEEK} value and <em>day-of-month</em> to
96 * -1. For example, to specify the last Sunday of October, set <em>month</em>
98 * Calendar#SUNDAY SUNDAY} and <em>day-of-month</em> to -1. </li>
191 * @param startMonth The daylight saving time starting month. Month is
194 * @param startDay The day of the month on which the daylight saving time starts.
201 * @param endMonth The daylight saving time ending month. Month is
204 * @param endDay The day of the month on which the daylight saving time ends.
211 * @exception IllegalArgumentException if the month, day, dayOfWeek, or time
248 * @param startMonth The daylight saving time starting month. Month is
251 * @param startDay The day of the month on which the daylight saving time starts.
257 * @param endMonth The daylight saving time ending month. Month is
260 * @param endDay The day of the month on which the daylight saving time ends.
268 * @exception IllegalArgumentException if the month, day, dayOfWeek, or time
295 * @param startMonth The daylight saving time starting month. Month is
298 * @param startDay The day of the month on which the daylight saving time starts.
305 * @param endMonth The daylight saving time ending month. Month is
308 * @param endDay The day of the month on which the daylight saving time ends.
318 * @exception IllegalArgumentException if the month, day, dayOfWeek, time more, or
373 * @param startMonth The daylight saving time starting month. Month is
376 * @param startDay The day of the month on which the daylight saving time starts.
397 * Sets the daylight saving time start rule to a fixed date within a month.
401 * @param startMonth The daylight saving time starting month. Month is
404 * @param startDay The day of the month on which the daylight saving time starts.
418 * a month, e.g., the first Monday on or after the 8th.
420 * @param startMonth The daylight saving time starting month. Month is
423 * @param startDay The day of the month on which the daylight saving time starts.
452 * @param endMonth The daylight saving time ending month. Month is
455 * @param endDay The day of the month on which the daylight saving time ends.
478 * Sets the daylight saving time end rule to a fixed date within a month.
482 * @param endMonth The daylight saving time ending month. Month is
485 * @param endDay The day of the month on which the daylight saving time ends.
500 * a month, e.g., the first Monday on or after the 8th.
502 * @param endMonth The daylight saving time ending month. Month is
505 * @param endDay The day of the month on which the daylight saving time ends.
513 * <code>endDay</code> of the month.
582 * assumes that the start and end month are distinct. It also
594 * @param month The month in the given date. Month is 0-based. e.g.,
596 * @param day The day-in-month of the given date.
601 * <code>month</code>, <code>day</code>, <code>dayOfWeek</code>,
604 public int getOffset(int era, int year, int month, int day, int dayOfWeek,
631 // convert year to its 1-based month value
632 int m = month + 1;
746 int mode, int year, int month, int dayOfMonth,
749 cdate.setMonth(month + 1);
969 * The month in which daylight saving time starts. This value must be
983 * <code>startDay</code> indicates the day of the month of
991 * month <code>startMonth</code> daylight
1030 * The month in which daylight saving time ends. This value must be
1044 * <code>endDay</code> indicates the day of the month of
1052 * month <code>endMonth</code> daylight
1141 * Day of week in month; e.g., last Sunday in March.
1145 * Day of week after day of month; e.g., Sunday on or after March 15.
1149 * Day of week before day of month; e.g., Sunday on or before March 15.
1170 * Day of week in month; e.g., last Sunday in March.
1174 * Day of week after day of month; e.g., Sunday on or after March 15.
1178 * Day of week before day of month; e.g., Sunday on or before March 15.
1220 private static final int DOM_MODE = 1; // Exact day of month, "Mar 1"
1221 private static final int DOW_IN_MONTH_MODE = 2; // Day of week in month, "lastSun"
1222 private static final int DOW_GE_DOM_MODE = 3; // Day of week after day of month, "Sun>=15"
1223 private static final int DOW_LE_DOM_MODE = 4; // Day of week before day of month, "Sun<=21"
1290 // 5 the fifth of the month
1291 // lastSun the last Sunday in the month
1292 // lastMon the last Monday in the month
1307 // startDay The day of the month, or for DOW_IN_MONTH mode, a
1343 * negative, in order to indicate special modes. The day of month
1345 * set, and the day of week and day of month variables will be positive.
1363 * month 0..11 same same same don't care
1368 * The range for month does not include UNDECIMBER since this class is
1369 * really specific to GregorianCalendar, which does not use that month.
1384 "Illegal start month " + startMonth);
1412 "Illegal start day of week in month " + startDay);
1431 "Illegal end month " + endMonth);
1459 "Illegal end day of week in month " + endDay);
1470 * day-of-week-in-month rules, we must modify other modes of rules to their
1486 // A day-of-month of 1 is equivalent to DOW_IN_MONTH_MODE
1509 // A day-of-month of 1 is equivalent to DOW_IN_MONTH_MODE