QuantLib_BespokeCalendar man page

BespokeCalendar — Bespoke calendar.

Synopsis

#include <ql/time/calendars/bespokecalendar.hpp>

Inherits Calendar.

Public Member Functions

BespokeCalendar (const std::string &name='')

void addWeekend (Weekday)
marks the passed day as part of the weekend

Additional Inherited Members

Detailed Description

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.

Constructor & Destructor Documentation

BespokeCalendar (const std::string & name = '')

Warning

different bespoke calendars created with the same name (or different bespoke calendars created with no name) will compare as equal.

Author

Generated automatically by Doxygen for QuantLib from the source code.

Referenced By

addWeekend(3) and BespokeCalendar(3) are aliases of QuantLib_BespokeCalendar(3).

Fri Sep 23 2016 Version 1.8.1 QuantLib