Class BaseTimeDependent

    • Constructor Detail

      • BaseTimeDependent

        public BaseTimeDependent()
      • BaseTimeDependent

        public BaseTimeDependent​(Date startDate,
                                 Date endDate)
    • Method Detail

      • getStartDate

        public Date getStartDate()
        Description copied from interface: TimeDependent
        The start of the validity period. It shall never be null.
        Specified by:
        getStartDate in interface TimeDependent
        Returns:
        the start date of the validity period
      • setStartDate

        public void setStartDate​(Date d)
      • getEndDate

        public Date getEndDate()
        Description copied from interface: TimeDependent
        The end of the validity period. Null indicates that this is the last known case. If not null, it is assumed that the end date is not older than the start date.
        Specified by:
        getEndDate in interface TimeDependent
        Returns:
        the end date of the validity period or null if the object is still valid
      • setEndDate

        public void setEndDate​(Date d)