18#include <ql/errors.hpp>
28 impl_ = QuantLib::ext::make_shared<Greece::Impl>();
32 Weekday w = date.weekday();
33 Day d = date.dayOfMonth(), dd = date.dayOfYear();
34 Month m = date.month();
36 Day em = easterMonday(y);
37 Day laborDay = Date(1, May, y).dayOfYear();
41 || (d == 1 && m == January)
43 || (d == 6 && m == January)
51 || (m == Mar && d == 25)
53 || (m == May && ((d == 1) || ((w==Tuesday) && (d<=5) && (em-3 <= laborDay && laborDay <= em))))
57 || (m == August && d == 15)
59 || (m == October && d == 28)
61 || (m == December && d == 25)
63 || (m == December && d == 26))
bool isBusinessDay(const QuantLib::Date &) const override
helper functions for date operations