QuantLib: a free/open-source library for quantitative finance
fully annotated source code - version 1.34
|
Business/252 day count convention. More...
#include <business252.hpp>
Classes | |
class | Impl |
Public Member Functions | |
Business252 (const Calendar &c=Brazil()) | |
Public Member Functions inherited from DayCounter | |
DayCounter ()=default | |
bool | empty () const |
Returns whether or not the day counter is initialized. More... | |
std::string | name () const |
Returns the name of the day counter. More... | |
Date::serial_type | dayCount (const Date &, const Date &) const |
Returns the number of days between two dates. More... | |
Time | yearFraction (const Date &, const Date &, const Date &refPeriodStart=Date(), const Date &refPeriodEnd=Date()) const |
Returns the period between two dates as a fraction of year. More... | |
Additional Inherited Members | |
Protected Member Functions inherited from DayCounter | |
DayCounter (ext::shared_ptr< Impl > impl) | |
Protected Attributes inherited from DayCounter | |
ext::shared_ptr< Impl > | impl_ |
Related Functions inherited from DayCounter | |
bool | operator== (const DayCounter &, const DayCounter &) |
bool | operator!= (const DayCounter &, const DayCounter &) |
std::ostream & | operator<< (std::ostream &, const DayCounter &) |
Business/252 day count convention.
Definition at line 37 of file business252.hpp.
Business252 | ( | const Calendar & | c = Brazil() | ) |
Definition at line 50 of file business252.hpp.