QuantLib: a free/open-source library for quantitative finance
fully annotated source code - version 1.34
|
Public Member Functions | |
std::string | name () const override |
Date::serial_type | dayCount (const Date &d1, const Date &d2) const override |
to be overloaded by more complex day counters More... | |
Time | yearFraction (const Date &d1, const Date &d2, const Date &, const Date &) const override |
Impl (Calendar c) | |
Public Member Functions inherited from DayCounter::Impl | |
virtual | ~Impl ()=default |
virtual std::string | name () const =0 |
virtual Date::serial_type | dayCount (const Date &d1, const Date &d2) const |
to be overloaded by more complex day counters More... | |
virtual Time | yearFraction (const Date &d1, const Date &d2, const Date &refPeriodStart, const Date &refPeriodEnd) const =0 |
Private Attributes | |
Calendar | calendar_ |
Definition at line 39 of file business252.hpp.
Definition at line 47 of file business252.hpp.
|
overridevirtual |
Implements DayCounter::Impl.
Definition at line 72 of file business252.cpp.
|
overridevirtual |
to be overloaded by more complex day counters
Reimplemented from DayCounter::Impl.
Definition at line 78 of file business252.cpp.
|
overridevirtual |
Implements DayCounter::Impl.
Definition at line 137 of file business252.cpp.
|
private |
Definition at line 41 of file business252.hpp.