28#include <ql/patterns/singleton.hpp>
29#include <ql/time/calendar.hpp>
30#include <ql/time/date.hpp>
31#include <ql/utilities/dataparsers.hpp>
50 void addHolidays(
const string& calname,
const Date& d);
59 const set<Date>&
getHolidays(
const string& calname)
const;
const set< Date > & getHolidays(const string &calname) const
Returns all the holidays for a given cal name.
const string & getBaseCalendar(const string &calname) const
void addBusinessDays(const string &calname, const Date &d)
This method adds d to the list of business days for cal name.
set< string > getCalendars() const
CalendarAdjustmentConfig()
string normalisedName(const string &) const
map< string, string > baseCalendars_
void fromXML(XMLNode *node) override
XMLNode * toXML(XMLDocument &doc) const override
void addBaseCalendar(const string &calname, const string &d)
This method adds s as a base calendar for cal name.
const set< Date > & getBusinessDays(const string &calname) const
Returns all the business days for a given calname.
map< string, set< Date > > additionalHolidays_
void addHolidays(const string &calname, const Date &d)
This method adds d to the list of holidays for cal name.
void append(const CalendarAdjustmentConfig &c)
add all holidays and business days from c to this instance
map< string, set< Date > > additionalBusinessDays_
Small XML Document wrapper class.
Base class for all serializable classes.
Serializable Credit Default Swap.