Package org.apache.commons.lang3.time
Class DateUtils.DateIterator
- java.lang.Object
-
- org.apache.commons.lang3.time.DateUtils.DateIterator
-
-
Constructor Summary
Constructors Constructor Description DateIterator(Calendar startFinal, Calendar endFinal)Constructs a DateIterator that ranges from one date to another.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanhasNext()Has the iterator not reached the end date yet?Calendarnext()Returns the next calendar in the iterationvoidremove()Always throws UnsupportedOperationException.-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface java.util.Iterator
forEachRemaining
-
-
-
-
Method Detail
-
hasNext
public boolean hasNext()
Has the iterator not reached the end date yet?
-
next
public Calendar next()
Returns the next calendar in the iteration
-
remove
public void remove()
Always throws UnsupportedOperationException.- Specified by:
removein interfaceIterator<Calendar>- Throws:
UnsupportedOperationException- Always thrown.- See Also:
Iterator.remove()
-
-