/** * Standard constructor: builds a DayAndMonthRule for the given * day-of-the-month and month. * <P> * For the month parameter, use SerialDate.JANUARY, etc. Note that there * are no checks to prevent you from entering an invalid combination (such * as 31 February). * * @param dayOfMonth the day of the month (in the range 1 to 31). * @param month the month (use SerialDate.JANUARY, SerialDate.FEBRUARY etc.); */ public DayAndMonthRule(final int dayOfMonth, final int month) { // check arguments delegated to setter methods... setMonth(month); setDayOfMonth(dayOfMonth); }
/** * Standard constructor: builds a DayAndMonthRule for the given * day-of-the-month and month. * <P> * For the month parameter, use SerialDate.JANUARY, etc. Note that there * are no checks to prevent you from entering an invalid combination (such * as 31 February). * * @param dayOfMonth the day of the month (in the range 1 to 31). * @param month the month (use SerialDate.JANUARY, SerialDate.FEBRUARY etc.); */ public DayAndMonthRule(final int dayOfMonth, final int month) { // check arguments delegated to setter methods... setMonth(month); setDayOfMonth(dayOfMonth); }
/** * Standard constructor: builds a DayAndMonthRule for the given * day-of-the-month and month. * <P> * For the month parameter, use SerialDate.JANUARY, etc. Note that there * are no checks to prevent you from entering an invalid combination (such * as 31 February). * * @param dayOfMonth the day of the month (in the range 1 to 31). * @param month the month (use SerialDate.JANUARY, SerialDate.FEBRUARY etc.); */ public DayAndMonthRule(final int dayOfMonth, final int month) { // check arguments delegated to setter methods... setMonth(month); setDayOfMonth(dayOfMonth); }