QuantLib: a free/open-source library for quantitative finance
fully annotated source code - version 1.34
Loading...
Searching...
No Matches
Classes | Public Member Functions | List of all members
Actual366 Class Reference

Actual/366 day count convention. More...

#include <actual366.hpp>

+ Inheritance diagram for Actual366:
+ Collaboration diagram for Actual366:

Classes

class  Impl
 

Public Member Functions

 Actual366 (const bool includeLastDay=false)
 
- 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< Implimpl_
 

Detailed Description

Actual/366 day count convention.

Actual/366 day count convention, also known as "Act/366".

Definition at line 36 of file actual366.hpp.

Constructor & Destructor Documentation

◆ Actual366()

Actual366 ( const bool  includeLastDay = false)
explicit

Definition at line 59 of file actual366.hpp.