biweekly.property
Class RecurrenceRule
java.lang.Object
biweekly.property.ICalProperty
biweekly.property.ValuedProperty<Recurrence>
biweekly.property.RecurrenceProperty
biweekly.property.RecurrenceRule
public class RecurrenceRule
- extends RecurrenceProperty
Defines how often a component repeats.
Examples:
//"bi-weekly"
Recurrence recur = new Recurrence.Builder(Frequency.WEEKLY).interval(2).build();
RecurrenceRule rrule = new RecurrenceRule(recur);
- Author:
- Michael Angstadt
- Specification Reference:
- RFC 5545 p.122-32
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RecurrenceRule
public RecurrenceRule(Recurrence recur)
- Creates a new recurrence rule property.
- Parameters:
recur
- the recurrence rule
validate
protected void validate(List<ICalComponent> components,
List<String> warnings)
- Description copied from class:
ICalProperty
- Checks the property for data consistency problems or deviations from the
spec. Meant to be overridden by child classes that wish to provide
validation logic.
- Overrides:
validate
in class RecurrenceProperty
- Parameters:
components
- the hierarchy of components that the property belongs
towarnings
- the list to add the warnings to
Copyright © 2013 Michael Angstadt. All Rights Reserved.