biz.chitec.quarterback.util
Class EDateUtilities.EDateRangeIterator
java.lang.Object
biz.chitec.quarterback.util.EDateUtilities.EDateRangeIterator
- All Implemented Interfaces:
- java.util.Iterator
- Direct Known Subclasses:
- EDateUtilities.EDateCanonicalRangeIterator
- Enclosing class:
- EDateUtilities
- private static class EDateUtilities.EDateRangeIterator
- extends java.lang.Object
- implements java.util.Iterator
Returns series of time ranges with a certain standard length.
The first returned time range starts with the start date. The last timerange ends with or surrounds the end date,
with start being earlier than the given end date and the time range's end being
later than or equal to the given end date.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
currentstart
private EDate currentstart
finalend
private EDate finalend
currentend
private EDate currentend
rangesymbol
private int rangesymbol
EDateUtilities.EDateRangeIterator
public EDateUtilities.EDateRangeIterator(EDate startx,
EDate endx,
int rangesymbolx)
EDateUtilities.EDateRangeIterator
protected EDateUtilities.EDateRangeIterator(EDate startx,
EDate endx,
int rangesymbolx,
boolean canonifystart)
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