30 impl_ = settlementImpl;
36 QL_FAIL(
"unknown market");
41 Weekday w = date.weekday();
42 Day d = date.dayOfMonth(), dd = date.dayOfYear();
43 Month m = date.month();
45 Day em = easterMonday(y);
48 || (d == 1 && m == January)
50 || (d == 2 && m == January)
60 || (d == 1 && m == May)
62 || (d == 1 && m == August)
64 || (d == 25 && m == December)
66 || (d == 26 && m == December))
72 Weekday w = date.weekday();
73 Day d = date.dayOfMonth(), dd = date.dayOfYear();
74 Month m = date.month();
76 Day em = easterMonday(y);
79 || (d == 1 && m == January)
81 || (d == 2 && m == January)
91 || (d == 1 && m == May)
93 || (d == 1 && m == August)
95 || (d == 24 && m == December)
97 || (d == 25 && m == December)
99 || (d == 26 && m == December)
101 || (d == 31 && m == December))
bool isBusinessDay(const Date &) const override
bool isBusinessDay(const Date &) const override
Switzerland(Market market=Settlement)
@ Settlement
generic settlement calendar
@ SIX
SIX Swiss Exchange calendar.