Default constructor: builds a DayAndMonthRule for 1 January.
DayAndMonthRule
public DayAndMonthRule(int dayOfMonth, int month)(Code)
Standard constructor: builds a DayAndMonthRule for the given
day-of-the-month and month.
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).
Parameters: dayOfMonth - the day of the month (in the range 1 to 31). Parameters: month - the month (use SerialDate.JANUARY, SerialDate.FEBRUARY etc.);
The codes JANUARY, FEBRUARY, MARCH, APRIL, MAY, JUNE, JULY, AUGUST,
SEPTEMBER, OCTOBER, NOVEMBER and DECEMBER are defined in the SerialDate
class.
an integer code representing the month.