<BUG>Validate.isTrue(CronFieldName.DAY_OF_MONTH.equals(cronField.getField()), "CronField does not belong to day of month");this.year = year;</BUG><CONTEXT>class OnDayOfMonthValueGenerator extends FieldValueGenerator {private int year;private int month;public OnDayOfMonthValueGenerator(CronField cronField, int year, int month) {super(cronField);<extra_id_0>this.month = month;}</CONTEXT>
Validate.isTrue(CronFieldName.DAY_OF_MONTH.equals(cronField.getField()), "CronField does not belong to day of" +" month");this.year = year;