European Central Bank reserve maintenance dates.
More...
#include <ql/time/ecb.hpp>
European Central Bank reserve maintenance dates.
Definition at line 34 of file ecb.hpp.
◆ knownDates()
const std::set< Date > & knownDates |
( |
| ) |
|
|
static |
◆ addDate()
void addDate |
( |
const Date & |
d | ) |
|
|
static |
◆ removeDate()
void removeDate |
( |
const Date & |
d | ) |
|
|
static |
◆ date() [1/2]
maintenance period start date in the given month/year
Definition at line 41 of file ecb.hpp.
◆ date() [2/2]
Date date |
( |
const std::string & |
ecbCode, |
|
|
const Date & |
referenceDate = Date() |
|
) |
| |
|
static |
returns the ECB date for the given ECB code (e.g. March xxth, 2013 for MAR10).
- Warning:
- It raises an exception if the input string is not an ECB code
Definition at line 94 of file ecb.cpp.
◆ code()
string code |
( |
const Date & |
ecbDate | ) |
|
|
static |
returns the ECB code for the given date (e.g. MAR10 for March xxth, 2010).
- Warning:
- It raises an exception if the input date is not an ECB date
Definition at line 129 of file ecb.cpp.
◆ nextDate() [1/2]
next maintenance period start date following the given date
Definition at line 190 of file ecb.cpp.
◆ nextDate() [2/2]
static Date nextDate |
( |
const std::string & |
ecbCode, |
|
|
const Date & |
referenceDate = Date() |
|
) |
| |
|
static |
next maintenance period start date following the given ECB code
Definition at line 65 of file ecb.hpp.
◆ nextDates() [1/2]
next maintenance period start dates following the given date
Definition at line 202 of file ecb.cpp.
◆ nextDates() [2/2]
static std::vector< Date > nextDates |
( |
const std::string & |
ecbCode, |
|
|
const Date & |
referenceDate = Date() |
|
) |
| |
|
static |
next maintenance period start dates following the given code
Definition at line 74 of file ecb.hpp.
◆ isECBdate()
returns whether or not the given date is a maintenance period start date
Definition at line 81 of file ecb.hpp.
◆ isECBcode()
bool isECBcode |
( |
const std::string & |
in | ) |
|
|
static |
returns whether or not the given string is an ECB code
Definition at line 215 of file ecb.cpp.
◆ nextCode() [1/2]
static std::string nextCode |
( |
const Date & |
d = Date() | ) |
|
|
static |
next ECB code following the given date
Definition at line 90 of file ecb.hpp.
◆ nextCode() [2/2]
string nextCode |
( |
const std::string & |
ecbCode | ) |
|
|
static |
next ECB code following the given code
Definition at line 246 of file ecb.cpp.