Package fr.marcwrobel.jbanking.calendar
Class BridgedHoliday
- java.lang.Object
-
- fr.marcwrobel.jbanking.calendar.BridgedHoliday
-
- All Implemented Interfaces:
Holiday
public class BridgedHoliday extends Object implements Holiday
AHolidaybased on two other holidays that adds a holiday when the previous and next days are holidays.This class is useful for modeling holidays like the bridged japanese holidays.
- Since:
- 3.1.0
- Author:
- Marc Wrobel
-
-
Constructor Summary
Constructors Constructor Description BridgedHoliday(Holiday first, Holiday second)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleancheck(LocalDate date)Check whether the given date is an occurrence of this holiday.
-