public abstract class DateListProperty extends Property
Content.Factory
ACKNOWLEDGED, 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(java.lang.String name,
DateList dates,
PropertyFactory factory) |
DateListProperty(java.lang.String name,
ParameterList parameters,
DateList dates,
PropertyFactory factory) |
DateListProperty(java.lang.String name,
ParameterList parameters,
PropertyFactory factory) |
DateListProperty(java.lang.String name,
PropertyFactory factory) |
Modifier and Type | Method and Description |
---|---|
Property |
copy()
Create a (deep) copy of this property.
|
DateList |
getDates() |
TimeZone |
getTimeZone() |
java.lang.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(java.lang.String aValue)
Sets the current value of the property.
|
equals, getName, getParameter, getParameters, getParameters, hashCode, toString, validate
public DateListProperty(java.lang.String name, PropertyFactory factory)
name
- the property namepublic DateListProperty(java.lang.String name, ParameterList parameters, PropertyFactory factory)
name
- the property nameparameters
- property parameterspublic DateListProperty(java.lang.String name, DateList dates, PropertyFactory factory)
name
- the property namedates
- a list of initial dates for the propertypublic DateListProperty(java.lang.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(java.lang.String aValue) throws java.text.ParseException
public java.lang.String getValue()
public 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 java.io.IOException, java.net.URISyntaxException, java.text.ParseException