28 static ext::shared_ptr<Calendar::Impl> settlementImpl(
33 impl_ = settlementImpl;
60 || ((
d == 1 || ((
d == 2 ||
d == 3) && w ==
Monday)) && m==
July)
71 || ((
d == 11 || ((
d == 12 ||
d == 13) && w ==
Monday))
89 Day em = easterMonday(
y);
101 || ((
d == 1 || ((
d == 2 ||
d == 3) && w ==
Monday)) && m==
July)
static Day easterMonday(Year)
expressed relative to first day of year
bool isWeekend(Weekday) const override
bool isWeekend(Weekday w) const
ext::shared_ptr< Impl > impl_
bool isBusinessDay(const Date &) const override
bool isBusinessDay(const Date &) const override
Canada(Market market=Settlement)
@ TSX
Toronto stock exchange calendar.
@ Settlement
generic settlement calendar
Day dayOfYear() const
One-based (Jan 1st = 1)
Classes and functions for error handling.
#define QL_FAIL(message)
throw an error (possibly with file and line information)