29 static ext::shared_ptr<Calendar::Impl> settlementImpl(
31 static ext::shared_ptr<Calendar::Impl> exchangeImpl(
35 impl_ = settlementImpl;
59 || (
d == 1 && m ==
May)
75 || (dd == em-49 || dd == em-48)
89 Day em = easterMonday(
y);
99 || (
d == 1 && m ==
May)
101 || (
d == 9 && m ==
July)
119 || (dd == em-49 || dd == em-48)
bool isBusinessDay(const Date &) const override
bool isBusinessDay(const Date &) const override
Brazil(Market market=Settlement)
Market
Brazilian calendars.
@ Settlement
generic settlement calendar
@ Exchange
BOVESPA 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)
Classes and functions for error handling.
#define QL_FAIL(message)
throw an error (possibly with file and line information)