19 package org.turro.scheduler.task.constraints;
21 import java.util.Calendar;
22 import java.util.Date;
23 import java.util.HashSet;
31 private Integer lastCheck;
32 private boolean refresh;
37 if(dm !=
null && contains(dm)) {
38 refresh = !dm.equals(lastCheck);
51 Calendar c = Calendar.getInstance();
53 return c.get(Calendar.DAY_OF_MONTH);
boolean isValid(Date date)
Integer getDayOfMonth(Date date)