Business/252 day count convention. More...
#include <ql/time/daycounters/business252.hpp>
Public Member Functions | |
Business252 (const Calendar &c=Brazil()) | |
![]() | |
DayCounter () | |
bool | empty () const |
Returns whether or not the day counter is initialized. | |
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. | |
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. | |
Additional Inherited Members | |
![]() | |
DayCounter (const ext::shared_ptr< Impl > &impl) | |
![]() | |
ext::shared_ptr< Impl > | impl_ |
![]() | |
bool | operator== (const DayCounter &, const DayCounter &) |
bool | operator!= (const DayCounter &, const DayCounter &) |
std::ostream & | operator<< (std::ostream &, const DayCounter &) |
Business/252 day count convention.