Module ical4j.core
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,Prototype<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 applicable
Temporal type for the property.
For example:
- UTC-based properties should use
Instantto represent UTC time - Date-only properties should use
LocalDateto represent a date value - Date-time properties should use
ZonedDateTimeto represent a date-time value influenced by timezone rules
- See Also:
-
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, XML -
Constructor Summary
ConstructorsConstructorDescriptionDateListProperty(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
Modifier and TypeMethodDescriptiongetDates()getValue()voidsetDefaultTimeZone(ZoneId defaultTimeZone) A default timezone may be specified for interpreting floating DATE-TIME values.voidsetTimeZoneRegistry(TimeZoneRegistry timeZoneRegistry) voidSets the current value of the property.Methods inherited from class net.fortuna.ical4j.model.Property
add, compareTo, copy, equals, getFluentTarget, getName, getParameter, getParameter, getParameterList, getParameters, getPrefix, getRequiredParameter, getRequiredParameter, hashCode, newFactory, remove, removeAll, replace, setParameters, setPrefix, toString, validateMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface net.fortuna.ical4j.model.FluentProperty
withParameter
-
Constructor Details
-
DateListProperty
- Parameters:
name- the property name
-
DateListProperty
- Parameters:
name- the property nameparameters- property parameters
-
DateListProperty
- 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 Details
-
getDates
- Returns:
- Returns the dates.
-
setValue
Sets the current value of the property. -
getValue
-
setTimeZoneRegistry
-
setDefaultTimeZone
A default timezone may be specified for interpreting floating DATE-TIME values. In the absence of a default timezone the system default timezone will be used.- Parameters:
defaultTimeZone- a timezone identifier
-