Module net.finmath.lib
Class BusinessdayCalendarExcludingNYCHolidays
java.lang.Object
net.finmath.time.businessdaycalendar.AbstractBusinessdayCalendar
net.finmath.time.businessdaycalendar.BusinessdayCalendarExcludingGivenHolidays
net.finmath.time.businessdaycalendar.BusinessdayCalendarExcludingNYCHolidays
- All Implemented Interfaces:
Serializable
,BusinessdayCalendar
public class BusinessdayCalendarExcludingNYCHolidays
extends BusinessdayCalendarExcludingGivenHolidays
A business day calendar, where every day is a business day, except for weekends and New York holidays
- Version:
- 1.0
- Author:
- Niklas Rodi
- See Also:
- Serialized Form
-
Nested Class Summary
Nested classes/interfaces inherited from interface net.finmath.time.businessdaycalendar.BusinessdayCalendar
BusinessdayCalendar.DateOffsetUnit, BusinessdayCalendar.DateRollConvention
-
Constructor Summary
ConstructorsConstructorDescriptionCreate NEW YORK business day calendar.BusinessdayCalendarExcludingNYCHolidays(BusinessdayCalendar baseCalendar)
Create NEW YORK business day calendar using a given business day calendar as basis. -
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
-
BusinessdayCalendarExcludingNYCHolidays
public BusinessdayCalendarExcludingNYCHolidays()Create NEW YORK business day calendar. -
BusinessdayCalendarExcludingNYCHolidays
Create NEW YORK business day calendar using a given business day calendar as basis.- Parameters:
baseCalendar
- Calendar of business days.
-
-
Method Details
-
getHolidays
- Specified by:
getHolidays
in classBusinessdayCalendarExcludingGivenHolidays
- Returns:
- A set of (additional) holidays.
-