QuantLib: a free/open-source library for quantitative finance
fully annotated source code - version 1.34
Loading...
Searching...
No Matches
Public Member Functions | List of all members
NullCalendar::Impl Class Referencefinal
+ Inheritance diagram for NullCalendar::Impl:
+ Collaboration diagram for NullCalendar::Impl:

Public Member Functions

std::string name () const override
 
bool isWeekend (Weekday) const override
 
bool isBusinessDay (const Date &) const override
 
- Public Member Functions inherited from Calendar::Impl
virtual ~Impl ()=default
 
virtual std::string name () const =0
 
virtual bool isBusinessDay (const Date &) const =0
 
virtual bool isWeekend (Weekday) const =0
 

Additional Inherited Members

- Public Attributes inherited from Calendar::Impl
std::set< DateaddedHolidays
 
std::set< DateremovedHolidays
 

Detailed Description

Definition at line 40 of file nullcalendar.hpp.

Member Function Documentation

◆ name()

std::string name ( ) const
overridevirtual

Implements Calendar::Impl.

Definition at line 42 of file nullcalendar.hpp.

◆ isWeekend()

bool isWeekend ( Weekday  ) const
overridevirtual

Implements Calendar::Impl.

Definition at line 43 of file nullcalendar.hpp.

◆ isBusinessDay()

bool isBusinessDay ( const Date ) const
overridevirtual

Implements Calendar::Impl.

Definition at line 44 of file nullcalendar.hpp.