java.lang.Object
org.apache.commons.lang.time.DateUtils.DateIterator
- All Implemented Interfaces:
- java.util.Iterator
- Enclosing class:
- DateUtils
- static class DateUtils.DateIterator
- extends java.lang.Object
- implements java.util.Iterator
Date iterator.
|
Method Summary |
boolean |
hasNext()
Has the iterator not reached the end date yet? |
java.lang.Object |
next()
Return the next calendar in the iteration |
void |
remove()
Always throws UnsupportedOperationException. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
endFinal
private final java.util.Calendar endFinal
spot
private final java.util.Calendar spot
DateUtils.DateIterator
DateUtils.DateIterator(java.util.Calendar startFinal,
java.util.Calendar endFinal)
- Constructs a DateIterator that ranges from one date to another.
hasNext
public boolean hasNext()
- Has the iterator not reached the end date yet?
- Specified by:
hasNext in interface java.util.Iterator
next
public java.lang.Object next()
- Return the next calendar in the iteration
- Specified by:
next in interface java.util.Iterator
remove
public void remove()
- Always throws UnsupportedOperationException.
- Specified by:
remove in interface java.util.Iterator