|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.fortuna.ical4j.model.Content
net.fortuna.ical4j.model.Property
net.fortuna.ical4j.model.property.DateListProperty
public abstract class DateListProperty
$Id: DateListProperty.java,v 1.20 2011/03/01 17:28:49 quillaud Exp $ Created on 11/08/2005 Base class for properties with a list of dates as a value.
| Field Summary |
|---|
| Fields inherited from class net.fortuna.ical4j.model.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 Summary | |
|---|---|
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)
|
|
| Method Summary | |
|---|---|
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. |
| Methods inherited from class net.fortuna.ical4j.model.Property |
|---|
equals, getName, getParameter, getParameters, getParameters, hashCode, isCalendarProperty, toString, validate |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public DateListProperty(java.lang.String name,
PropertyFactory factory)
name - the property name
public DateListProperty(java.lang.String name,
ParameterList parameters,
PropertyFactory factory)
name - the property nameparameters - property parameters
public DateListProperty(java.lang.String name,
DateList dates,
PropertyFactory factory)
name - the property namedates - a list of initial dates for the property
public DateListProperty(java.lang.String name,
ParameterList parameters,
DateList dates,
PropertyFactory factory)
name - the property nameparameters - property parametersdates - a list of initial dates for the property| Method Detail |
|---|
public final DateList getDates()
public void setValue(java.lang.String aValue)
throws java.text.ParseException
setValue in class PropertyaValue - a string representation of the property value
java.text.ParseException - possibly thrown by setting the value of certain propertiespublic java.lang.String getValue()
getValue in class Contentpublic void setTimeZone(TimeZone timezone)
timezone - a timezone to associate with this propertypublic final TimeZone getTimeZone()
public final void setUtc(boolean utc)
utc - the UTC value
public final Property copy()
throws java.io.IOException,
java.net.URISyntaxException,
java.text.ParseException
copy in class Propertyjava.io.IOException - where an error occurs reading property data
java.net.URISyntaxException - where the property contains an invalid URI value
java.text.ParseException - where the property contains an invalid date value
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||