Class DateListProperty<T extends Temporal>
- java.lang.Object
-
- net.fortuna.ical4j.model.Content
-
- net.fortuna.ical4j.model.Property
-
- net.fortuna.ical4j.model.property.DateListProperty<T>
-
- All Implemented Interfaces:
Serializable
,Comparable<Property>
,FluentProperty
public abstract class DateListProperty<T extends Temporal> extends Property
$Id$ Created on 11/08/2005 Base class for properties with a list of dates as a value. Note that generics have been introduced as part of the migration to the new Java Date/Time API. Date properties should now indicate the applicableTemporal
type for the property. For example:- UTC-based properties should use
Instant
to represent UTC time - Date-only properties should use
LocalDate
to represent a date value - Date-time properties should use
ZonedDateTime
to represent a date-time value influenced by timezone rules
- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class net.fortuna.ical4j.model.Content
Content.Factory
-
-
Field Summary
-
Fields inherited from class net.fortuna.ical4j.model.Property
ACKNOWLEDGED, ACTION, ATTACH, ATTENDEE, BUSYTYPE, CALENDAR_ADDRESS, 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, PARTICIPANT_TYPE, PERCENT_COMPLETE, POSTALCODE, PRIORITY, PRODID, PROXIMITY, RDATE, RECURRENCE_ID, REGION, RELATED_TO, REPEAT, REQUEST_STATUS, RESOURCE_TYPE, RESOURCES, RRULE, SEQUENCE, STATUS, STREET_ADDRESS, STRUCTURED_DATA, STYLED_DESCRIPTION, SUMMARY, TEL, TRANSP, TRIGGER, TZID, TZID_ALIAS_OF, TZNAME, TZOFFSETFROM, TZOFFSETTO, TZUNTIL, TZURL, UID, URL, VERSION
-
-
Constructor Summary
Constructors Constructor Description DateListProperty(String name)
DateListProperty(String name, DateList<T> dates)
DateListProperty(String name, ParameterList parameters, DateList<T> dates, Value defaultValueParam)
DateListProperty(String name, ParameterList parameters, Value defaultValueParam)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<T>
getDates()
String
getValue()
void
setTimeZoneRegistry(TimeZoneRegistry timeZoneRegistry)
void
setValue(String aValue)
Sets the current value of the property.-
Methods inherited from class net.fortuna.ical4j.model.Property
add, compareTo, copy, equals, getFluentTarget, getName, getParameter, getParameterList, getParameters, getRequiredParameter, hashCode, newFactory, remove, removeAll, replace, setParameters, toString, validate
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface net.fortuna.ical4j.model.FluentProperty
withParameter
-
-
-
-
Constructor Detail
-
DateListProperty
public DateListProperty(String name)
- Parameters:
name
- the property name
-
DateListProperty
public DateListProperty(String name, ParameterList parameters, Value defaultValueParam)
- Parameters:
name
- the property nameparameters
- property parameters
-
DateListProperty
public DateListProperty(String name, DateList<T> dates)
- Parameters:
name
- the property namedates
- a list of initial dates for the property
-
DateListProperty
public DateListProperty(String name, ParameterList parameters, DateList<T> dates, Value defaultValueParam)
- Parameters:
name
- the property nameparameters
- property parametersdates
- a list of initial dates for the property
-
-
Method Detail
-
setValue
public void setValue(String aValue)
Sets the current value of the property.
-
getValue
public String getValue()
-
setTimeZoneRegistry
public void setTimeZoneRegistry(TimeZoneRegistry timeZoneRegistry)
-
-