- QuantLib
- BespokeCalendar
Bespoke calendar. More...
#include <ql/time/calendars/bespokecalendar.hpp>
Public Member Functions | |
BespokeCalendar (const std::string &name="") | |
void | addWeekend (Weekday) |
marks the passed day as part of the weekend |
Bespoke calendar.
This calendar has no predefined set of business days. Holidays and weekdays can be defined by means of the provided interface. Instances constructed by copying remain linked to the original one; adding a new holiday or weekday will affect all linked instances.
BespokeCalendar | ( | const std::string & | name = "" | ) |