if (isThisMonthATriggerMonth(d.getMonthNameIs(),now) && isNowATriggerDate(d.getDayOfTheMonthIs(),now)) { return true;
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.");