The class encapsulates the E30360 year fraction convention. More...
#include <E30360.hpp>
Public Member Functions | |
virtual double | operator() (const Date &, const Date &) const |
Calculates year fraction. More... | |
virtual E30360 * | 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 |
std::ostream & | operator<< (std::ostream &s, E30360 &yf) |
Name of a class. More... | |
Detailed Description
The class encapsulates the E30360 year fraction convention.
An object of E30360 class is derived from YearFraction. It calculates year fraction on the basis of two dates using the formula:
where: is a year number of the , is a month number of the and is a day number of the .
This convention is known as 30E/360, 30/360 ICMA or Eurobond basis.The year fraction is calculated according to the formula:
Member Function Documentation
|
virtual |
Virtual copy constructor.
Virtual copy constructor of the E30360 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. An object of E30360 class is derived from YearFraction. It calculates year fraction on the basis of two dates using the formula:
where: is a year number of the , is a month number of the and is a day number of the .
Implements julian::YearFraction.
|
inlineprivate |
interface used by Boost serialization library
Friends And Related Function Documentation
|
friend |
Name of a class.
Overloading << operator
The documentation for this class was generated from the following files:
- C:/Unix/home/OEM/jULIAN/src/dates/yearFractions/E30360.hpp
- C:/Unix/home/OEM/jULIAN/src/dates/yearFractions/E30360.cpp