julian::OneYF Class Reference
The class encapsulates the 1/1 year fraction convention. More...
#include <OneYF.hpp>
Inheritance diagram for julian::OneYF:
Public Member Functions | |
virtual double | operator() (const Date &, const Date &) const |
virtual OneYF * | clone () const |
virtual std::string | info () const |
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 1/1 year fraction convention.
According to 1/1 convention the year fraction is always 1.
- Examples:
- DatesAndCalendarExample.cpp.
Member Function Documentation
|
virtual |
Method is an implementation of virtual copy constructor.
Implements julian::YearFraction.
|
virtual |
Method returns string that containing information about class.
Implements julian::YearFraction.
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/OneYF.hpp
- C:/Unix/home/OEM/jULIAN/src/dates/yearFractions/OneYF.cpp