days.add(4);
days.add(5);
days.add(6);
days.add(7);
WeeklySchedulerIterator iter = new WeeklySchedulerIterator(nearFuture.getTime(), null, days);
Date nextDate = iter.next();
assertTrue(nearFuture.getTime().equals(nextDate));
// Just validate the next 20 days in a row
for (int i = 0; i < 20; i++) {
nextDate = iter.next();
nearFuture.add(Calendar.DAY_OF_YEAR, 1);
assertTrue(nearFuture.getTime().equals(nextDate));
}