Logo
Fully annotated reference manual - version 1.8.12
Loading...
Searching...
No Matches
Classes | Public Types | Public Member Functions | List of all members
Ireland Class Reference

Ireland Calendars. More...

#include <qle/calendars/ireland.hpp>

+ Inheritance diagram for Ireland:
+ Collaboration diagram for Ireland:

Classes

class  BankHolidaysImpl
 
class  IrishStockExchangeImpl
 

Public Types

enum  Market { IrishStockExchange , BankHolidays }
 

Public Member Functions

 Ireland (const Market market=IrishStockExchange)
 

Detailed Description

Ireland Calendars.

Public holidays:

Tests:
the correctness of the returned results is tested against a list of known holidays.

Definition at line 54 of file ireland.hpp.

Member Enumeration Documentation

◆ Market

enum Market
Enumerator
IrishStockExchange 
BankHolidays 

Definition at line 68 of file ireland.hpp.

Constructor & Destructor Documentation

◆ Ireland()

Ireland ( const Market  market = IrishStockExchange)

Definition at line 25 of file ireland.cpp.

25 {
26 // all calendar instances on the same market share the same
27 // implementation instance
28 switch (market) {
30 impl_ = QuantLib::ext::make_shared<Ireland::IrishStockExchangeImpl>();
31 break;
32 case BankHolidays:
33 impl_ = QuantLib::ext::make_shared<Ireland::BankHolidaysImpl>();
34 break;
35 default:
36 QL_FAIL("Internal error, unexpected market " << market);
37 }
38}