Class Holiday

java.lang.Object
org.cswteams.ms3.entity.Holiday
All Implemented Interfaces:
Serializable

@Entity public class Holiday extends Object implements Serializable
This Entity models a period of days belonging to a holiday.
See Also:
  • Constructor Details

    • Holiday

      public Holiday()
      Default constructor needed by Lombok
    • Holiday

      public Holiday(String name, HolidayCategory category, long startDateEpochDay, long endDateEpochDay, String Location)
  • Method Details

    • getStartDate

      public LocalDate getStartDate()
      Convenience methods for working with LocalDate objects instead of timestamps
    • setStartDate

      public void setStartDate(LocalDate startDate)
    • getEndDate

      public LocalDate getEndDate()
    • setEndDate

      public void setEndDate(LocalDate endDate)