com.cc.framework.ui.model.imp
Class RecurrencePatternImp.YearlyNthIterator

java.lang.Object
  extended bycom.cc.framework.ui.model.imp.RecurrencePatternImp.AbstractRecurrenceIterator
      extended bycom.cc.framework.ui.model.imp.RecurrencePatternImp.YearlyNthIterator
All Implemented Interfaces:
java.util.Iterator
Enclosing class:
RecurrencePatternImp

public static class RecurrencePatternImp.YearlyNthIterator
extends RecurrencePatternImp.AbstractRecurrenceIterator

Yearly iterator

Author:
Harald Schulz

Field Summary
 
Fields inherited from class com.cc.framework.ui.model.imp.RecurrencePatternImp.AbstractRecurrenceIterator
current, endDate, pattern
 
Constructor Summary
RecurrencePatternImp.YearlyNthIterator(RecurrencePattern pattern)
          Constructor
 
Method Summary
protected  boolean doMatch(java.util.Calendar date)
          Checks if this iterator matches a certain date
 
Methods inherited from class com.cc.framework.ui.model.imp.RecurrencePatternImp.AbstractRecurrenceIterator
calcEndDate, checkDayInstance, doCalcEndDate, hasNext, match, next, remove, reset, selectNext
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RecurrencePatternImp.YearlyNthIterator

public RecurrencePatternImp.YearlyNthIterator(RecurrencePattern pattern)
Constructor

Parameters:
pattern - the recurrence pattern
Method Detail

doMatch

protected boolean doMatch(java.util.Calendar date)
Description copied from class: RecurrencePatternImp.AbstractRecurrenceIterator
Checks if this iterator matches a certain date

Specified by:
doMatch in class RecurrencePatternImp.AbstractRecurrenceIterator
Parameters:
date - The date to check
Returns:
returns true if this recurrence pattern is relevant for the given date
See Also:
RecurrencePatternImp.AbstractRecurrenceIterator.doMatch(java.util.Calendar)


Copyright © 2000-2005 SCC Informationssysteme GmbH. All Rights Reserved.