Class DateProperty<T extends Temporal>

    • Constructor Detail

      • DateProperty

        public DateProperty​(String name,
                            ParameterList parameters)
        Parameters:
        name - the property name
        parameters - a list of initial parameters
      • DateProperty

        public DateProperty​(String name)
        Parameters:
        name - the property name
    • Method Detail

      • getDate

        public T getDate()
        This method will attempt to dynamically cast the internal Temporal value to the required return value. e.g. LocalDate localDate = dateProperty.getDate();
        Returns:
        Returns the date.
      • setDate

        public void setDate​(T date)
        Sets the date value of this property. The timezone and value of this instance will also be updated accordingly.
        Parameters:
        date - The date to set.
      • getValue

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

        public void setTimeZoneRegistry​(TimeZoneRegistry timeZoneRegistry)
      • isUtc

        public final boolean isUtc()
        Indicates whether the current date value is specified in UTC time.
        Returns:
        true if the property is in UTC time, otherwise false