public class RecurrenceRule extends RecurrenceProperty
Defines how often a component repeats.
Code sample:
VEvent event = new VEvent(); Recurrence recur = new Recurrence.Builder(Frequency.WEEKLY).interval(2).build(); RecurrenceRule rrule = new RecurrenceRule(recur); event.setRecurrenceRule(rruel);
valueparameters| Constructor and Description |
|---|
RecurrenceRule(Recurrence recur)
Creates a new recurrence rule property.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
validate(List<ICalComponent> components,
List<Warning> warnings)
Checks the property for data consistency problems or deviations from the
spec.
|
getValue, setValueaddParameter, getParameter, getParameters, getParameters, removeParameter, setParameter, setParameter, setParameters, validatepublic RecurrenceRule(Recurrence recur)
recur - the recurrence ruleprotected void validate(List<ICalComponent> components, List<Warning> warnings)
ICalPropertyvalidate in class RecurrencePropertycomponents - the hierarchy of components that the property belongs
towarnings - the list to add the warnings toCopyright © 2013-2014 Michael Angstadt. All Rights Reserved.