QuantLib: a free/open-source library for quantitative finance
fully annotated source code - version 1.34
|
abstract base class for calendar implementations More...
#include <calendar.hpp>
Public Member Functions | |
virtual | ~Impl ()=default |
virtual std::string | name () const =0 |
virtual bool | isBusinessDay (const Date &) const =0 |
virtual bool | isWeekend (Weekday) const =0 |
Public Attributes | |
std::set< Date > | addedHolidays |
std::set< Date > | removedHolidays |
abstract base class for calendar implementations
Definition at line 64 of file calendar.hpp.
|
virtualdefault |
|
pure virtual |
Implemented in Argentina::MervalImpl, Australia::SettlementImpl, Australia::AsxImpl, Austria::SettlementImpl, Austria::ExchangeImpl, BespokeCalendar::Impl, Botswana::Impl, Brazil::SettlementImpl, Brazil::ExchangeImpl, Canada::SettlementImpl, Canada::TsxImpl, Chile::SseImpl, China::SseImpl, China::IbImpl, CzechRepublic::PseImpl, Denmark::Impl, Finland::Impl, France::SettlementImpl, France::ExchangeImpl, Germany::SettlementImpl, Germany::FrankfurtStockExchangeImpl, Germany::XetraImpl, Germany::EurexImpl, Germany::EuwaxImpl, HongKong::HkexImpl, Hungary::Impl, Iceland::IcexImpl, India::NseImpl, Indonesia::BejImpl, Israel::TelAvivImpl, Italy::SettlementImpl, Italy::ExchangeImpl, Japan::Impl, JointCalendar::Impl, Mexico::BmvImpl, NewZealand::Impl, Norway::Impl, NullCalendar::Impl, Poland::Impl, Romania::PublicImpl, Romania::BVBImpl, Russia::SettlementImpl, Russia::ExchangeImpl, SaudiArabia::TadawulImpl, Singapore::SgxImpl, Slovakia::BsseImpl, SouthAfrica::Impl, SouthKorea::SettlementImpl, SouthKorea::KrxImpl, Sweden::Impl, Switzerland::Impl, Taiwan::TsecImpl, TARGET::Impl, Thailand::SetImpl, Turkey::Impl, Ukraine::UseImpl, UnitedKingdom::SettlementImpl, UnitedKingdom::ExchangeImpl, UnitedKingdom::MetalsImpl, UnitedStates::SettlementImpl, UnitedStates::LiborImpactImpl, UnitedStates::NyseImpl, UnitedStates::GovernmentBondImpl, UnitedStates::SofrImpl, UnitedStates::NercImpl, UnitedStates::FederalReserveImpl, and WeekendsOnly::Impl.
Implemented in Argentina::MervalImpl, Australia::SettlementImpl, Australia::AsxImpl, Austria::SettlementImpl, Austria::ExchangeImpl, BespokeCalendar::Impl, Botswana::Impl, Brazil::SettlementImpl, Brazil::ExchangeImpl, Canada::SettlementImpl, Canada::TsxImpl, Chile::SseImpl, China::SseImpl, China::IbImpl, CzechRepublic::PseImpl, Denmark::Impl, Finland::Impl, France::SettlementImpl, France::ExchangeImpl, Germany::SettlementImpl, Germany::FrankfurtStockExchangeImpl, Germany::XetraImpl, Germany::EurexImpl, Germany::EuwaxImpl, HongKong::HkexImpl, Hungary::Impl, Iceland::IcexImpl, India::NseImpl, Indonesia::BejImpl, Israel::TelAvivImpl, Italy::SettlementImpl, Italy::ExchangeImpl, Japan::Impl, JointCalendar::Impl, Mexico::BmvImpl, NewZealand::Impl, Norway::Impl, NullCalendar::Impl, Poland::Impl, Romania::PublicImpl, Romania::BVBImpl, Russia::SettlementImpl, Russia::ExchangeImpl, SaudiArabia::TadawulImpl, Singapore::SgxImpl, Slovakia::BsseImpl, SouthAfrica::Impl, SouthKorea::SettlementImpl, SouthKorea::KrxImpl, Sweden::Impl, Switzerland::Impl, Taiwan::TsecImpl, TARGET::Impl, Thailand::SetImpl, Turkey::Impl, Ukraine::UseImpl, UnitedKingdom::SettlementImpl, UnitedKingdom::ExchangeImpl, UnitedKingdom::MetalsImpl, UnitedStates::SettlementImpl, UnitedStates::LiborImpactImpl, UnitedStates::NyseImpl, UnitedStates::GovernmentBondImpl, UnitedStates::SofrImpl, UnitedStates::NercImpl, UnitedStates::FederalReserveImpl, and WeekendsOnly::Impl.
std::set<Date> addedHolidays |
Definition at line 70 of file calendar.hpp.
std::set<Date> removedHolidays |
Definition at line 70 of file calendar.hpp.