QuantLib: a free/open-source library for quantitative finance
fully annotated source code - version 1.34
|
partial calendar implementation More...
#include <calendar.hpp>
Public Member Functions | |
bool | isWeekend (Weekday) const override |
Public Member Functions inherited from Calendar::Impl | |
virtual | ~Impl ()=default |
virtual std::string | name () const =0 |
virtual bool | isBusinessDay (const Date &) const =0 |
virtual bool | isWeekend (Weekday) const =0 |
Static Public Member Functions | |
static Day | easterMonday (Year) |
expressed relative to first day of year More... | |
Additional Inherited Members | |
Public Attributes inherited from Calendar::Impl | |
std::set< Date > | addedHolidays |
std::set< Date > | removedHolidays |
partial calendar implementation
This class provides the means of determining the Easter Monday for a given year, as well as specifying Saturdays and Sundays as weekend days.
Definition at line 168 of file calendar.hpp.
Implements Calendar::Impl.
Definition at line 195 of file calendar.cpp.
expressed relative to first day of year
Definition at line 199 of file calendar.cpp.