if (d.getReoccurs() == BigInteger.ONE) { return true; int compare = nextrun.compareTo(cal); log.log(Level.INFO, "compare value " + compare); nextrun.add(Calendar.DATE, d.getReoccurs().intValue()); if (nextrun.compareTo(cal) <= 0) { return true;
if (ds.getReoccurs() == null || ds.getReoccurs().intValue() < 1) { throw new IllegalArgumentException("The report def has invalid value for reoccuring.");