Interface DateSettable

    • Method Detail

      • set

        @Deprecated
        void set​(Date date)
        Deprecated.
        since 6.1; use set(CalendarDate) instead.
        Sets the container to a date value specified as a java.util.Date object, relative to the default time zone. The time zone returned by TimeZone.getDefault() is used.
        Parameters:
        date - date value to which to set the container, expressed as a point in time relative to the default time zone
      • set

        @Deprecated
        void set​(Date date,
                 TimeZone tz)
        Deprecated.
        since 6.1; use set(CalendarDate) instead.
        Sets the container to a date value specified as a java.util.Date object, relative to the given time zone.
        Parameters:
        date - date value to which to set the container, expressed as a point in time relative to the specified time zone
        tz - the time zone in which the date should be interpreted
      • set

        void set​(long days)
        Sets the container to a date value specified as the number of days since Java epoch (January 1, 1970 GMT).
        Parameters:
        days - date value to which to set the container, expressed as the number of days since Java epoch
      • set

        void set​(CalendarDate date)
        Sets the container to the specified calendar date.
        Parameters:
        date - value to which to set the container