Package net.fortuna.ical4j.model
Interface RecurrenceSupport<T extends CalendarComponent>
-
- All Superinterfaces:
PropertyContainer
,PropertyListAccessor
public interface RecurrenceSupport<T extends CalendarComponent> extends PropertyContainer
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description <T extends Temporal>
Set<Period<T>>calculateRecurrenceSet(Period<T> period)
Calculates the recurrence set for this component using the specified period.<C extends Component>
Ccopy()
default List<T>
getOccurrences(Period<Temporal> period)
-
Methods inherited from interface net.fortuna.ical4j.model.PropertyContainer
add, addAll, remove, removeAll, replace, setPropertyList
-
Methods inherited from interface net.fortuna.ical4j.model.PropertyListAccessor
getProperties, getProperty, getPropertyList, getRequiredProperty
-
-
-
-
Method Detail
-
copy
<C extends Component> C copy() throws ParseException, IOException, URISyntaxException
-
calculateRecurrenceSet
<T extends Temporal> Set<Period<T>> calculateRecurrenceSet(Period<T> period)
Calculates the recurrence set for this component using the specified period. The recurrence set is derived from a combination of the component start date, recurrence rules and dates, and exception rules and dates. Note that component transparency and anniversary-style dates do not affect the resulting intersection.If an explicit DURATION is not specified, the effective duration of each returned period is derived from the DTSTART and DTEND or DUE properties. If the component has no DURATION, DTEND or DUE, the effective duration is set to PT0S
- Parameters:
period
- a range to calculate recurrences for- Returns:
- a list of periods
-
getOccurrences
default List<T> getOccurrences(Period<Temporal> period) throws ParseException, IOException, URISyntaxException
-
-