28 static ext::shared_ptr<Calendar::Impl> settlementImpl(
30 static ext::shared_ptr<Calendar::Impl> exchangeImpl(
34 impl_ = settlementImpl;
61 || (
d == 1 && m ==
May)
63 || (
d == 2 && m ==
June &&
y >= 2000)
86 Day em = easterMonday(
y);
95 || (
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
Italy(Market market=Settlement)
@ Settlement
generic settlement calendar
@ Exchange
Milan stock-exchange calendar.
Classes and functions for error handling.
#define QL_FAIL(message)
throw an error (possibly with file and line information)