julian::ACT360 Class Reference
The class encapsulates the ACT360 year fraction convention. More...
#include <ACT360.hpp>
Inheritance diagram for julian::ACT360:
Public Member Functions | |
virtual double | operator() (const Date &, const Date &) const |
Calculates year fraction. More... | |
virtual ACT360 * | 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 ACT360 year fraction convention.
According to Act360 convention the year fraction is calculated using following formula:
.
- Examples:
- DatesAndCalendarExample.cpp.
Member Function Documentation
|
virtual |
Virtual copy constructor.
Virtual copy constructor of the ACT360 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/ACT360.hpp
- C:/Unix/home/OEM/jULIAN/src/dates/yearFractions/ACT360.cpp