28 static ext::shared_ptr<QuantLib::Calendar::Impl> impl(
new Impl);
34 Weekday w = date.weekday();
35 Day d = date.dayOfMonth();
36 Month m = date.month();
39 Day dd = date.dayOfYear();
40 Day em = easterMonday(y);
44 || ((d == 1 || (d == 2 && w == Monday)) && m == January)
46 || (y >= 1998 && (d >= 15 && d <= 21) && w == Monday && m == January)
48 || ((d >= 15 && d <= 21) && w == Monday && m == February)
52 || (d >= 25 && w == Monday && m == May)
54 || ((d == 4 || (d == 5 && w == Monday) || (d == 3 && w == Friday)) && m == July)
56 || (d <= 7 && w == Monday && m == September)
58 || ((d >= 22 && d <= 28) && w == Thursday && m == November)
60 || ((d == 25 || (d == 26 && w == Monday) || (d == 24 && w == Friday)) && m == December))
bool isBusinessDay(const QuantLib::Date &d) const override
CME Group exchange calendars.