biz.chitec.quarterback.util
Class EDateUtilities.EDateDayOfWeekIterator
java.lang.Object
biz.chitec.quarterback.util.EDateUtilities.EDateDayOfWeekIterator
- All Implemented Interfaces:
- java.util.Iterator
- Enclosing class:
- EDateUtilities
- private static class EDateUtilities.EDateDayOfWeekIterator
- extends java.lang.Object
- implements java.util.Iterator
Iterator for dates between start and end which belong to certain weekdays.
The weekdays to be included are passed in the array parameter. 0 is Monday.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
runner
private EDate runner
weekdays
private QuickIntArray weekdays
end
private EDate end
EDateUtilities.EDateDayOfWeekIterator
public EDateUtilities.EDateDayOfWeekIterator(EDate start,
EDate endx,
int[] weekdaysx,
boolean withstart)
hasNext
public boolean hasNext()
- Specified by:
hasNext
in interface java.util.Iterator
next
public java.lang.Object next()
- Specified by:
next
in interface java.util.Iterator
remove
public void remove()
- Specified by:
remove
in interface java.util.Iterator