28 static ext::shared_ptr<Calendar::Impl> settlementImpl(
30 static ext::shared_ptr<Calendar::Impl> frankfurtStockExchangeImpl(
32 static ext::shared_ptr<Calendar::Impl> xetraImpl(
34 static ext::shared_ptr<Calendar::Impl> eurexImpl(
36 static ext::shared_ptr<Calendar::Impl> euwaxImpl(
41 impl_ = settlementImpl;
44 impl_ = frankfurtStockExchangeImpl;
81 || (
d == 1 && m ==
May)
95 const Date& date)
const {
100 Day em = easterMonday(
y);
109 || (
d == 1 && m ==
May)
125 Day em = easterMonday(
y);
134 || (
d == 1 && m ==
May)
150 Day em = easterMonday(
y);
159 || (
d == 1 && m ==
May)
177 Day em = easterMonday(
y);
186 || (
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
bool isBusinessDay(const Date &) const override
bool isBusinessDay(const Date &) const override
bool isBusinessDay(const Date &) const override
Germany(Market market=FrankfurtStockExchange)
@ Settlement
generic settlement calendar
@ FrankfurtStockExchange
Frankfurt stock-exchange.
Classes and functions for error handling.
#define QL_FAIL(message)
throw an error (possibly with file and line information)