java.lang.Object
eu.dzhw.fdz.metadatamanagement.common.domain.Period
All Implemented Interfaces:
Serializable

@ValidPeriod(message="global.error.period.valid-period") public class Period extends Object implements Serializable
Objects representing periods in time. All periods must have a start date and an end date and the start date must be before or equal to the end date.
See Also:
  • Field Details

    • serialVersionUID

      private static final long serialVersionUID
      See Also:
    • start

      private LocalDate start
      The start date of the period. Mandatory and must not be after end date.
    • end

      private LocalDate end
      The end date of the period. Mandatory and must not be before start date.
  • Constructor Details

    • Period

      public Period()