QuantLib: DayCounter::Impl Class Reference

A free/open-source library for quantitative finance Reference manual - version 1.20

Public Member Functions | List of all members
DayCounter::Impl Class Referenceabstract

abstract base class for day counter implementations More...

`#include <ql/time/daycounter.hpp>`

## Public Member Functions
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
virtual Time | yearFraction (const Date &d1, const Date &d2, const Date &refPeriodStart, const Date &refPeriodEnd) const =0

## Detailed Description

abstract base class for day counter implementations