julian::ACT360addOne Class Reference
The class encapsulates the ACT360addOne year fraction convention. More...
#include <ACT360addOne.hpp>
Inheritance diagram for julian::ACT360addOne:
Public Member Functions | |
virtual double | operator() (const Date &, const Date &) const |
Calculates year fraction. More... | |
virtual ACT360addOne * | clone () const |
Virtual copy constructor. More... | |
virtual std::string | info () const |
Name of a class. More... | |
Public Member Functions inherited from julian::YearFraction | |
YearFraction () | |
Constructor. More... | |
virtual | ~YearFraction () |
Destructor. More... | |
Private Member Functions | |
template<class Archive > | |
void | serialize (Archive &, const unsigned int) |
interface used by Boost serialization library More... | |
Friends | |
class | boost::serialization::access |
Detailed Description
The class encapsulates the ACT360addOne year fraction convention.
According to Act365 convention the year fraction is calculated using following formula:
- Examples:
- DatesAndCalendarExample.cpp.
Member Function Documentation
|
virtual |
Virtual copy constructor.
Virtual copy constructor of the ACT360addOne class
Implements julian::YearFraction.
|
virtual |
Name of a class.
Method returns string that containing information about class.
Implements julian::YearFraction.
Calculates year fraction.
Method calculates the year fraction on the basis of two dates.
Implements julian::YearFraction.
template<class Archive >
|
inlineprivate |
interface used by Boost serialization library
The documentation for this class was generated from the following files:
- C:/Unix/home/OEM/jULIAN/src/dates/yearFractions/ACT360addOne.hpp
- C:/Unix/home/OEM/jULIAN/src/dates/yearFractions/ACT360addOne.cpp