Logo
Fully annotated reference manual - version 1.8.12
Loading...
Searching...
No Matches
Public Member Functions | List of all members
Ireland::BankHolidaysImpl Class Reference
+ Inheritance diagram for Ireland::BankHolidaysImpl:
+ Collaboration diagram for Ireland::BankHolidaysImpl:

Public Member Functions

std::string name () const override
 
bool isBusinessDay (const QuantLib::Date &) const override
 
- Public Member Functions inherited from Ireland::IrishStockExchangeImpl
std::string name () const override
 
bool isBusinessDay (const QuantLib::Date &) const override
 

Detailed Description

Definition at line 61 of file ireland.hpp.

Member Function Documentation

◆ name()

std::string name ( ) const
override

Definition at line 63 of file ireland.hpp.

63{ return "Ireland"; }

◆ isBusinessDay()

bool isBusinessDay ( const QuantLib::Date &  ) const
override

Definition at line 72 of file ireland.cpp.

72 {
73 Weekday w = date.weekday();
74 Day d = date.dayOfMonth();
75 Month m = date.month();
77 (m == December && (d == 27 || (d == 29 && (w == Mon || w == Tue || w == Wed)) || (d == 28 && w == Wed))))
78 return false;
79 else
80 return true;
81}
bool isBusinessDay(const QuantLib::Date &) const override
Definition: ireland.cpp:40
+ Here is the call graph for this function: