QuantLib
A free/open-source library for quantitative finance
Reference manual - version 1.20
List of all members
OneDayCounter Class Reference

1/1 day count convention More...

#include <ql/time/daycounters/one.hpp>

+ Inheritance diagram for OneDayCounter:

Additional Inherited Members

- Public Member Functions inherited from DayCounter
 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.
 
- Protected Member Functions inherited from DayCounter
 DayCounter (const ext::shared_ptr< Impl > &impl)
 
- Protected Attributes inherited from DayCounter
ext::shared_ptr< Implimpl_
 

Detailed Description

1/1 day count convention