/** * Create an instance of {@link MonthlySchedule } * */ public MonthlySchedule createMonthlySchedule() { return new MonthlySchedule(); }
if (isThisMonthATriggerMonth(d.getMonthNameIs(),now) && isNowATriggerDate(d.getDayOfTheMonthIs(),now)) { return true;
if (ds.getDayOfTheMonthIs().isEmpty()) { throw new IllegalArgumentException("The report def has invalid weekly schedule for day of the month."); if (ds.getMonthNameIs().isEmpty()) { throw new IllegalArgumentException("The report def has invalid weekly schedule for month.");