Logo
Fully annotated reference manual - version 1.8.12
Loading...
Searching...
No Matches
Classes | Public Member Functions | List of all members
YearCounter Class Reference

Year counter for when we want a whole number year fraction. More...

#include <qle/time/yearcounter.hpp>

+ Inheritance diagram for YearCounter:
+ Collaboration diagram for YearCounter:

Classes

class  Impl
 

Public Member Functions

 YearCounter ()
 

Detailed Description

Year counter for when we want a whole number year fraction.

This day counter computes a day count fraction using an underlying day counter (ACTACT) before rounding the result to the nearest integer.

Definition at line 37 of file yearcounter.hpp.

Constructor & Destructor Documentation

◆ YearCounter()

Definition at line 39 of file yearcounter.hpp.

39: QuantLib::DayCounter(QuantLib::ext::shared_ptr<DayCounter::Impl>(new YearCounter::Impl())) {}