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);
value
parameters
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, setValue
addParameter, getParameter, getParameters, getParameters, removeParameter, setParameter, setParameter, setParameters, validate
public RecurrenceRule(Recurrence recur)
recur
- the recurrence ruleprotected void validate(List<ICalComponent> components, List<Warning> warnings)
ICalProperty
validate
in class RecurrenceProperty
components
- the hierarchy of components that the property belongs
towarnings
- the list to add the warnings toCopyright © 2013-2014 Michael Angstadt. All Rights Reserved.