20#include <ql/time/calendars/france.hpp>
21#include <ql/errors.hpp>
28 static ext::shared_ptr<Calendar::Impl> settlementImpl(
30 static ext::shared_ptr<Calendar::Impl> exchangeImpl(
34 impl_ = settlementImpl;
40 QL_FAIL(
"unknown market");
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)
67 || (d == 15 && m ==
August)
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.