E30360.hpp
Go to the documentation of this file.
1 #ifndef JULIAN_E30360_HPP
2 #define JULIAN_E30360_HPP
3 
5 
11 namespace julian {
12 
23  class E30360: public YearFraction {
24  public:
25  E30360(){};
26  virtual double operator()(const Date&,const Date&) const;
27  virtual E30360* clone() const;
28  virtual ~E30360(){};
29  virtual std::string info() const;
30  friend std::ostream& operator<<(std::ostream& s, E30360& yf);
31  friend class boost::serialization::access;
32  private:
33 
36  template<class Archive>
37  void serialize(Archive & , const unsigned int){
38  boost::serialization::base_object<YearFraction>(*this);
39  }
40  };
41 }
42 #endif
void serialize(Archive &, const unsigned int)
interface used by Boost serialization library
Definition: E30360.hpp:37
File contains interface for year fractions.
This class is an abstract class expressing the concept of calculating year fraction.
Definition: yearFraction.hpp:28
Definition: cadHoliday.cpp:3
friend std::ostream & operator<<(std::ostream &s, E30360 &yf)
Name of a class.
Definition: E30360.cpp:44
virtual double operator()(const Date &, const Date &) const
Calculates year fraction.
Definition: E30360.cpp:15
virtual E30360 * clone() const
Virtual copy constructor.
Definition: E30360.cpp:36
virtual std::string info() const
Name of a class.
Definition: E30360.cpp:53
Class implements a date object.
Definition: date.hpp:27
The class encapsulates the E30360 year fraction convention.
Definition: E30360.hpp:23