|
Compoze Software, Inc. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.compoze.ebusiness.DateRecurrence.DateIterator
This class is an iterator that returns the dates in a DateRecurrence
.
WARNING: The bySetPos rule is not applied for this iterator.
Constructor Summary | |
DateRecurrence.DateIterator(java.util.Calendar calendar,
java.util.Date startDate,
java.util.Date endDate)
Constructor. |
Method Summary | |
boolean |
hasNext()
Returns true if the iteration has more elements. |
java.lang.Object |
next()
Returns the next element in the iteration. |
void |
remove()
Removes the last element returned by the iterator (not implemented). |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public DateRecurrence.DateIterator(java.util.Calendar calendar, java.util.Date startDate, java.util.Date endDate)
calendar
- the calendar to use to apply the rules (should be
constructed with appropriate time zone and locale)startDate
- start date, or null for start date of ruleendDate
- end date, or null to use until date of rule, which if it
is null, yields the possibility that this method will
loop indefinitelyMethod Detail |
public boolean hasNext()
hasNext
in interface java.util.Iterator
public java.lang.Object next()
next
in interface java.util.Iterator
public void remove()
remove
in interface java.util.Iterator
java.lang.UnsupportedOperationException
- because the method is not implemented
|
Compoze Software, Inc. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |