Class DateListProperty

    • Constructor Detail

      • DateListProperty

        public DateListProperty​(String name,
                                PropertyFactory factory)
        Parameters:
        name - the property name
      • DateListProperty

        public DateListProperty​(String name,
                                ParameterList parameters,
                                PropertyFactory factory)
        Parameters:
        name - the property name
        parameters - property parameters
      • DateListProperty

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

        public DateListProperty​(String name,
                                ParameterList parameters,
                                DateList dates,
                                PropertyFactory factory)
        Parameters:
        name - the property name
        parameters - property parameters
        dates - a list of initial dates for the property
    • Method Detail

      • getDates

        public final DateList getDates()
        Returns:
        Returns the dates.
      • setValue

        public void setValue​(String aValue)
                      throws ParseException
        Sets the current value of the property.
        Specified by:
        setValue in class Property
        Parameters:
        aValue - a string representation of the property value
        Throws:
        ParseException - possibly thrown by setting the value of certain properties
      • getValue

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

        public void setTimeZone​(TimeZone timezone)
        Sets the timezone associated with this property.
        Parameters:
        timezone - a timezone to associate with this property
      • getTimeZone

        public final TimeZone getTimeZone()
        Returns:
        the timezone
      • setUtc

        public final void setUtc​(boolean utc)
        Resets the timezone associated with the property. If utc is true, any TZID parameters are removed and the Java timezone is updated to UTC time. If utc is false, TZID parameters are removed and the Java timezone is set to the default timezone (i.e. represents a "floating" local time)
        Parameters:
        utc - the UTC value