28 static ext::shared_ptr<Calendar::Impl> settlementImpl(
30 static ext::shared_ptr<Calendar::Impl> exchangeImpl(
34 impl_ = settlementImpl;
57 || (
d == 1 && m ==
May)
59 || (
d == 8 && m ==
May)
61 || (
d == 10 && m ==
May)
63 || (
d == 21 && m ==
May)
65 || (
d == 14 && m ==
July)
85 Day em = easterMonday(
y);
94 || (
d == 1 && m ==
May)
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_
Day dayOfYear() const
One-based (Jan 1st = 1)
bool isBusinessDay(const Date &) const override
bool isBusinessDay(const Date &) const override
France(Market market=Settlement)
@ Settlement
generic settlement calendar
@ Exchange
Paris stock-exchange calendar.
Classes and functions for error handling.
#define QL_FAIL(message)
throw an error (possibly with file and line information)