Package net.fortuna.ical4j.model
Interface RecurrenceSupport<T extends CalendarComponent>
- All Superinterfaces:
PropertyContainer
-
Method Summary
Modifier and TypeMethodDescriptioncalculateRecurrenceSet(Period period) Calculates the recurrence set for this component using the specified period.<C extends Component>
Ccopy()getOccurrences(Period period) Methods inherited from interface net.fortuna.ical4j.model.PropertyContainer
getProperties, getProperties, getProperty
-
Method Details
-
copy
-
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 period) throws ParseException, IOException, URISyntaxException
-