Module net.finmath.lib
Class BusinessdayCalendarExcludingGivenSetOfHolidays
java.lang.Object
net.finmath.time.businessdaycalendar.AbstractBusinessdayCalendar
net.finmath.time.businessdaycalendar.BusinessdayCalendarExcludingGivenHolidays
net.finmath.time.businessdaycalendar.BusinessdayCalendarExcludingGivenSetOfHolidays
- All Implemented Interfaces:
Serializable
,BusinessdayCalendar
public abstract class BusinessdayCalendarExcludingGivenSetOfHolidays
extends BusinessdayCalendarExcludingGivenHolidays
A class for a business day calendar, where every day is a business day, except
weekends days provided by a
Set
.- Version:
- 1.0
- Author:
- Christian Fries
- See Also:
- Serialized Form
-
Nested Class Summary
Nested classes/interfaces inherited from interface net.finmath.time.businessdaycalendar.BusinessdayCalendar
BusinessdayCalendar.DateOffsetUnit, BusinessdayCalendar.DateRollConvention
-
Constructor Summary
ConstructorsConstructorDescriptionBusinessdayCalendarExcludingGivenSetOfHolidays(String name, boolean isExcludeWeekends, Set<LocalDate> holidays)
BusinessdayCalendarExcludingGivenSetOfHolidays(String name, BusinessdayCalendar baseCalendar, boolean isExcludeWeekends, Set<LocalDate> holidays)
-
Method Summary
Methods inherited from class net.finmath.time.businessdaycalendar.BusinessdayCalendarExcludingGivenHolidays
getBaseCalendar, getName, isBusinessday, isExcludingWeekends, toString
Methods inherited from class net.finmath.time.businessdaycalendar.AbstractBusinessdayCalendar
convertOffsetCodesToTimes, createDateFromDateAndOffsetCodes, getAdjustedDate, getAdjustedDate, getDateFromDateAndOffsetCode, getRolledDate
-
Constructor Details
-
BusinessdayCalendarExcludingGivenSetOfHolidays
public BusinessdayCalendarExcludingGivenSetOfHolidays(String name, BusinessdayCalendar baseCalendar, boolean isExcludeWeekends, Set<LocalDate> holidays) -
BusinessdayCalendarExcludingGivenSetOfHolidays
-
-
Method Details
-
getHolidays
- Specified by:
getHolidays
in classBusinessdayCalendarExcludingGivenHolidays
- Returns:
- A set of (additional) holidays.
-