20#include <ql/time/calendars/austria.hpp>
21#include <ql/errors.hpp>
28 static ext::shared_ptr<Calendar::Impl> settlementImpl(
30 static ext::shared_ptr<Calendar::Impl> exchangeImpl(
34 impl_ = settlementImpl;
40 QL_FAIL(
"unknown market");
65 || (d == 1 && m ==
May)
67 || (d == 15 && m ==
August)
69 || (d == 26 && m ==
October && y >= 1967)
71 || (d == 12 && m ==
November && y >= 1919 && y <= 1934)
90 Day em = easterMonday(y);
101 || (d == 1 && m ==
May)
103 || (d == 26 && m ==
October && y >= 1967)
105 || (d == 12 && m ==
November && y >= 1919 && y <= 1934)
bool isBusinessDay(const Date &) const override
bool isBusinessDay(const Date &) const override
Austria(Market market=Settlement)
Market
Austrian calendars.
@ Settlement
generic settlement calendar
@ Exchange
Vienna stock-exchange calendar.
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)