public class RecurrenceProperty extends ValuedProperty<Recurrence>
value
parameters
Constructor and Description |
---|
RecurrenceProperty(Recurrence recur)
Creates a new recurrence property.
|
Modifier and Type | Method and Description |
---|---|
com.google.ical.compat.javautil.DateIterator |
getDateIterator(Date startDate)
Gets the date values of this recurrence property.
|
com.google.ical.compat.javautil.DateIterator |
getDateIterator(ICalDate startDate)
Gets the date values of this recurrence property.
|
protected void |
validate(List<ICalComponent> components,
ICalVersion version,
List<Warning> warnings)
Checks the property for data consistency problems or deviations from the
spec.
|
getValue, getValue, setValue
addParameter, getParameter, getParameters, getParameters, removeParameter, setParameter, setParameter, setParameters, validate
public RecurrenceProperty(Recurrence recur)
recur
- the recurrence valuepublic com.google.ical.compat.javautil.DateIterator getDateIterator(Date startDate)
startDate
- the date that the recurrence starts (typically, the
value of its accompanying DateStart
property)public com.google.ical.compat.javautil.DateIterator getDateIterator(ICalDate startDate)
startDate
- the date that the recurrence starts (typically, the
value of its accompanying DateStart
property)protected void validate(List<ICalComponent> components, ICalVersion version, List<Warning> warnings)
ICalProperty
Checks the property for data consistency problems or deviations from the spec.
This method should be overridden by child classes that wish to provide validation logic. The default implementation of this method does nothing.
validate
in class ValuedProperty<Recurrence>
components
- the hierarchy of components that the property belongs
toversion
- the version to validate againstwarnings
- the list to add the warnings toCopyright © 2013-2015 Michael Angstadt. All Rights Reserved.