whitMonday.hpp
Go to the documentation of this file.
1 #ifndef JULIAN_WHITMONDAY_HPP
2 #define JULIAN_WHITMONDAY_HPP
3 
6 
7 namespace julian {
8 
21  class WhitMonday: public Holiday {
22  public:
23  virtual bool operator()(Date) const;
24  virtual WhitMonday* clone() const;
25  virtual std::string info() const;
26  virtual ~WhitMonday(){};
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<Holiday>(*this);
35  }
36  };
37 }
38 #endif
File contains function EasterForAGivenYear.
Definition: cadHoliday.cpp:3
virtual WhitMonday * clone() const
Virtual copy constructor.
Definition: whitMonday.cpp:20
virtual bool operator()(Date) const
Check if date is a holiday.
Definition: whitMonday.cpp:10
virtual std::string info() const
informations about class
Definition: whitMonday.cpp:28
Class is an abstract class expressing the concept of holiday calendar for different currencies and st...
Definition: holiday.hpp:22
Whit Monday.
Definition: whitMonday.hpp:21
void serialize(Archive &, const unsigned int)
interface used by Boost serialization library
Definition: whitMonday.hpp:33
Class implements a date object.
Definition: date.hpp:27
File contains definition of Holiday class.