biweekly.property
Class RecurrenceId
java.lang.Object
biweekly.property.ICalProperty
biweekly.property.DateOrDateTimeProperty
biweekly.property.RecurrenceId
public class RecurrenceId
- extends DateOrDateTimeProperty
Records the original value of the DateStart
property if a recurrence
instance has been modified. Used in conjunction with the Uid
and
Sequence
properties to uniquely identify a recurrence instance.
- Author:
- Michael Angstadt
- See Also:
- RFC 5545
p.112-4
Constructor Summary |
RecurrenceId(Date originalStartDate)
Creates a recurrence ID property. |
RecurrenceId(Date originalStartDate,
boolean hasTime)
Creates a recurrence ID property. |
Method Summary |
Range |
getRange()
Gets the effective range of recurrence instances from the instance
specified by this property. |
void |
setRange(Range range)
Sets the effective range of recurrence instances from the instance
specified by this property. |
Methods inherited from class biweekly.property.ICalProperty |
addParameter, getAltRepresentation, getCommonName, getDirectoryEntry, getFormatType, getLanguage, getParameter, getParameters, getParameters, getSentBy, removeParameter, setAltRepresentation, setCommonName, setDirectoryEntry, setFormatType, setLanguage, setParameter, setParameter, setParameters, setSentBy, validate |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RecurrenceId
public RecurrenceId(Date originalStartDate)
- Creates a recurrence ID property.
- Parameters:
originalStartDate
- the original start date
RecurrenceId
public RecurrenceId(Date originalStartDate,
boolean hasTime)
- Creates a recurrence ID property.
- Parameters:
originalStartDate
- the original start datehasTime
- true to include the time component of the date, false not
to
getRange
public Range getRange()
- Gets the effective range of recurrence instances from the instance
specified by this property.
- Returns:
- the range or null if not set
- See Also:
- RFC 5545
p.23-4
setRange
public void setRange(Range range)
- Sets the effective range of recurrence instances from the instance
specified by this property.
- Parameters:
range
- the range or null to remove- See Also:
- RFC 5545
p.23-4
Copyright © 2013 Michael Angstadt. All Rights Reserved.