code: public static RecurrenceIterator createRecurrenceIterator(Collection<? extends DateValue> dates) {
  		DateValue[] datesArray = dates.toArray(new DateValue[0]);
  		return new RDateIteratorImpl(datesArray);
  	}
docs: Creates a recurrence iterator from an RDATE or EXDATE list.
  @param dates the list of dates
  @return the iterator