Top Description Fields Constructors Methods
net.fortuna.ical4j.model.property

public abstract Class DateListProperty<T extends Temporal>

extends Property
Class Inheritance
Known Direct Subclasses
net.fortuna.ical4j.model.property.RDate, net.fortuna.ical4j.model.property.ExDate
Imports
net.fortuna.ical4j.model.*, net.fortuna.ical4j.model.parameter.TzId, .Value, java.time.ZoneId, java.time.temporal.Temporal, java.util.List, .Optional, java.util.stream.Collectors

$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:

Author
Ben Fortuna

Field Summary

Modifier and TypeField and Description
private DateList<T>
private ZoneId
private final Value
private static final long
private transient TimeZoneRegistry
Inherited from net.fortuna.ical4j.model.Property:
ACKNOWLEDGEDACTIONATTACHATTENDEEBUSYTYPECALENDAR_ADDRESSCALSCALECATEGORIESCLASSCOMMENTCOMPLETEDCONTACTCOUNTRYCREATEDDESCRIPTIONDTENDDTSTAMPDTSTARTDUEDURATIONEXDATEEXPERIMENTAL_PREFIXEXRULEEXTENDED_ADDRESSFREEBUSYGEOLAST_MODIFIEDLOCALITYLOCATIONLOCATION_TYPEMETHODNAMEORGANIZERPARTICIPANT_TYPEPERCENT_COMPLETEPOSTALCODEPRIORITYPRODIDPROXIMITYRDATERECURRENCE_IDREGIONRELATED_TOREPEATREQUEST_STATUSRESOURCE_TYPERESOURCESRRULESEQUENCESTATUSSTREET_ADDRESSSTRUCTURED_DATASTYLED_DESCRIPTIONSUMMARYTELTRANSPTRIGGERTZIDTZID_ALIAS_OFTZNAMETZOFFSETFROMTZOFFSETTOTZUNTILTZURLUIDURLVERSIONXML

Constructor Summary

AccessConstructor and Description
public
DateListProperty(final String
the property name
name
)

public
DateListProperty(final String
the property name
name
,
final ParameterList
property parameters
parameters
,
Value defaultValueParam)

public
DateListProperty(final String
the property name
name
,
final DateList<T>
a list of initial dates for the property
dates
)

public
DateListProperty(final String
the property name
name
,
final ParameterList
property parameters
parameters
,
final DateList<T>
a list of initial dates for the property
dates
,
Value defaultValueParam)

Method Summary

Modifier and TypeMethod and Description
public final List<T>

Returns:

Returns the dates.
getDates
()

public String
public void
setDefaultTimeZone(ZoneId
a timezone identifier
defaultTimeZone
)

A default timezone may be specified for interpreting floating DATE-TIME values.

public void
public void
setValue(final String
a string representation of the property value
aValue
)

Implements abstract net.fortuna.ical4j.model.Property.setValue.

Sets the current value of the property.

Inherited from net.fortuna.ical4j.model.Property:
addcompareTocopyequalsgetFluentTargetgetNamegetParametergetParametergetParameterListgetParametersgetPrefixgetRequiredParametergetRequiredParameterhashCodenewFactoryremoveremoveAllreplacesetParameterssetPrefixtoStringvalidate

Field Detail

datesback to summary
private DateList<T> dates
defaultTimeZoneback to summary
private ZoneId defaultTimeZone
defaultValueParamback to summary
private final Value defaultValueParam
serialVersionUIDback to summary
private static final long serialVersionUID

Hides net.fortuna.ical4j.model.Property.serialVersionUID.

timeZoneRegistryback to summary
private transient TimeZoneRegistry timeZoneRegistry

Constructor Detail

DateListPropertyback to summary
public DateListProperty(final String name)
Parameters
name:String

the property name

DateListPropertyback to summary
public DateListProperty(final String name, final ParameterList parameters, Value defaultValueParam)
Parameters
name:String

the property name

parameters:ParameterList

property parameters

DateListPropertyback to summary
public DateListProperty(final String name, final DateList<T> dates)
Parameters
name:String

the property name

dates:DateList<T>

a list of initial dates for the property

DateListPropertyback to summary
public DateListProperty(final String name, final ParameterList parameters, final DateList<T> dates, Value defaultValueParam)
Parameters
name:String

the property name

parameters:ParameterList

property parameters

dates:DateList<T>

a list of initial dates for the property

Method Detail

getDatesback to summary
public final List<T> getDates()
Returns:List<T>

Returns the dates.

Annotations
@SuppressWarnings:unchecked
getValueback to summary
public String getValue()

Implements abstract net.fortuna.ical4j.model.Content.getValue.

Returns:String

Doc from net.fortuna.ical4j.model.Content.getValue.

the content value

Annotations
@Override
setDefaultTimeZoneback to summary
public void setDefaultTimeZone(ZoneId defaultTimeZone)

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:ZoneId

a timezone identifier

setTimeZoneRegistryback to summary
public void setTimeZoneRegistry(TimeZoneRegistry timeZoneRegistry)
setValueback to summary
public void setValue(final String aValue)

Implements abstract net.fortuna.ical4j.model.Property.setValue.

Doc from net.fortuna.ical4j.model.Property.setValue.

Sets the current value of the property.

Parameters
aValue:String

a string representation of the property value

Annotations
@Override