ACT365.hpp
Go to the documentation of this file.
1 #ifndef JULIAN_ACT365_HPP
2 #define JULIAN_ACT365_HPP
3 
5 
6 namespace julian {
7 
20  class ACT365: public YearFraction {
21  public:
22  ACT365(){};
23  virtual double operator()(const Date&,const Date&) const;
24  virtual ACT365* clone() const;
25  virtual ~ACT365(){};
26  virtual std::string info() const;
27  friend class boost::serialization::access;
28  private:
29 
32  template<class Archive>
33  void serialize(Archive & , const unsigned int){
34  boost::serialization::base_object<YearFraction>(*this);
35  }
36  };
37 }
38 #endif
File contains interface for year fractions.
This class is an abstract class expressing the concept of calculating year fraction.
Definition: yearFraction.hpp:28
void serialize(Archive &, const unsigned int)
interface used by Boost serialization library
Definition: ACT365.hpp:33
Definition: cadHoliday.cpp:3
virtual double operator()(const Date &, const Date &) const
Definition: ACT365.cpp:9
The class encapsulates the ACT365 year fraction convention.
Definition: ACT365.hpp:20
virtual ACT365 * clone() const
Definition: ACT365.cpp:15
Class implements a date object.
Definition: date.hpp:27
virtual std::string info() const
Definition: ACT365.cpp:21