Class DateListProperty<T extends Temporal>

  • All Implemented Interfaces:
    Serializable, Comparable<Property>, FluentProperty
    Direct Known Subclasses:
    ExDate, RDate

    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 applicable Temporal 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
    • 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 name
        parameters - property parameters
      • DateListProperty

        public DateListProperty​(String name,
                                DateList<T> dates)
        Parameters:
        name - the property name
        dates - a list of initial dates for the property
      • DateListProperty

        public DateListProperty​(String name,
                                ParameterList parameters,
                                DateList<T> dates,
                                Value defaultValueParam)
        Parameters:
        name - the property name
        parameters - property parameters
        dates - a list of initial dates for the property
    • Method Detail

      • getDates

        public final List<T> getDates()
        Returns:
        Returns the dates.
      • setValue

        public void setValue​(String aValue)
        Sets the current value of the property.
        Specified by:
        setValue in class Property
        Parameters:
        aValue - a string representation of the property value
      • getValue

        public String getValue()
        Specified by:
        getValue in class Content
        Returns:
        the content value
      • setTimeZoneRegistry

        public void setTimeZoneRegistry​(TimeZoneRegistry timeZoneRegistry)