Module ical4j.core
Package net.fortuna.ical4j.model
Interface RecurrenceSupport<T extends CalendarComponent>
- All Superinterfaces:
PropertyContainer,PropertyListAccessor,Prototype<Component>
public interface RecurrenceSupport<T extends CalendarComponent>
extends PropertyContainer, Prototype<Component>
-
Field Summary
Fields inherited from interface net.fortuna.ical4j.model.PropertyContainer
ADD_IF_NOT_PRESENT -
Method Summary
Methods inherited from interface net.fortuna.ical4j.model.PropertyContainer
add, addAll, remove, removeAll, removeIf, replace, setPropertyList, withMethods inherited from interface net.fortuna.ical4j.model.PropertyListAccessor
getProperties, getProperty, getProperty, getPropertyList, getRequiredProperty, getRequiredProperty
-
Method Details
-
calculateRecurrenceSet
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
-