Package org.cswteams.ms3.entity
Class Holiday
java.lang.Object
org.cswteams.ms3.entity.Holiday
- All Implemented Interfaces:
Serializable
This Entity models a period of days belonging to a holiday.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionHoliday()Default constructor needed by LombokHoliday(String name, HolidayCategory category, long startDateEpochDay, long endDateEpochDay, String Location) -
Method Summary
Modifier and TypeMethodDescriptionConvenience methods for working with LocalDate objects instead of timestampsvoidsetEndDate(LocalDate endDate) voidsetStartDate(LocalDate startDate)
-
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
Convenience methods for working with LocalDate objects instead of timestamps -
setStartDate
-
getEndDate
-
setEndDate
-