net.fortuna.ical4j.model.property
public abstract class DateListProperty extends Property
ACTION, ATTACH, ATTENDEE, BUSYTYPE, CALSCALE, CATEGORIES, CLASS, COMMENT, COMPLETED, CONTACT, COUNTRY, CREATED, DESCRIPTION, DTEND, DTSTAMP, DTSTART, DUE, DURATION, EXDATE, EXPERIMENTAL_PREFIX, EXRULE, EXTENDED_ADDRESS, FREEBUSY, GEO, LAST_MODIFIED, LOCALITY, LOCATION, LOCATION_TYPE, METHOD, NAME, ORGANIZER, PERCENT_COMPLETE, POSTALCODE, PRIORITY, PRODID, RDATE, RECURRENCE_ID, REGION, RELATED_TO, REPEAT, REQUEST_STATUS, RESOURCES, RRULE, SEQUENCE, STATUS, STREET_ADDRESS, SUMMARY, TEL, TRANSP, TRIGGER, TZID, TZNAME, TZOFFSETFROM, TZOFFSETTO, TZURL, UID, URL, VERSION| Constructor and Description |
|---|
DateListProperty(String name,
DateList dates,
PropertyFactory factory) |
DateListProperty(String name,
ParameterList parameters,
DateList dates,
PropertyFactory factory) |
DateListProperty(String name,
ParameterList parameters,
PropertyFactory factory) |
DateListProperty(String name,
PropertyFactory factory) |
| Modifier and Type | Method and Description |
|---|---|
Property |
copy()
Create a (deep) copy of this property.
|
DateList |
getDates() |
TimeZone |
getTimeZone() |
String |
getValue() |
void |
setTimeZone(TimeZone timezone)
Sets the timezone associated with this property.
|
void |
setUtc(boolean utc)
Resets the timezone associated with the property.
|
void |
setValue(String aValue)
Sets the current value of the property.
|
equals, getName, getParameter, getParameters, getParameters, hashCode, isCalendarProperty, toString, validatepublic DateListProperty(String name, PropertyFactory factory)
name - the property namepublic DateListProperty(String name, ParameterList parameters, PropertyFactory factory)
name - the property nameparameters - property parameterspublic DateListProperty(String name, DateList dates, PropertyFactory factory)
name - the property namedates - a list of initial dates for the propertypublic DateListProperty(String name, ParameterList parameters, DateList dates, PropertyFactory factory)
name - the property nameparameters - property parametersdates - a list of initial dates for the propertypublic final DateList getDates()
public void setValue(String aValue) throws ParseException
setValue in class PropertyaValue - a string representation of the property valueParseException - possibly thrown by setting the value of certain propertiespublic void setTimeZone(TimeZone timezone)
timezone - a timezone to associate with this propertypublic final TimeZone getTimeZone()
public final void setUtc(boolean utc)
utc - the UTC valuepublic final Property copy() throws IOException, URISyntaxException, ParseException
copy in class PropertyIOException - where an error occurs reading property dataURISyntaxException - where the property contains an invalid URI valueParseException - where the property contains an invalid date valueCopyright © 2004-2013 Micronode. All Rights Reserved.