Class is an abstract class expressing the concept of holiday calendar for different currencies and stock exchange. More...
#include <holiday.hpp>
Public Member Functions | |
Holiday () | |
Constructor. More... | |
virtual bool | operator() (Date) const =0 |
Check holiday. More... | |
virtual Holiday * | clone () const =0 |
Virtual copy constructor. More... | |
virtual std::string | info () const =0 |
Info about class. More... | |
virtual | ~Holiday () |
deconstructor 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
Class is an abstract class expressing the concept of holiday calendar for different currencies and stock exchange.
This class is a interface for classes representing various holidays and holiday sets.
Constructor & Destructor Documentation
|
inline |
Constructor.
Default constructor.
|
inlinevirtual |
deconstructor
Default deconstructor.
Member Function Documentation
|
pure virtual |
Virtual copy constructor.
Method is an implementation of virtual copy constructor.
Implemented in julian::JPYHoliday, julian::CZKHoliday, julian::PLNHoliday, julian::CADHoliday, julian::USDHoliday, julian::CHFHoliday, julian::GBPHoliday, julian::HUFHoliday, julian::EURHoliday, julian::FixedHoliday, julian::CorpusChristi, julian::EasterMonday, julian::GoodFriday, and julian::WhitMonday.
|
pure virtual |
Info about class.
Method returns string that containing information about class.
Implemented in julian::JPYHoliday, julian::CZKHoliday, julian::PLNHoliday, julian::CADHoliday, julian::USDHoliday, julian::CHFHoliday, julian::GBPHoliday, julian::HUFHoliday, julian::EURHoliday, julian::FixedHoliday, julian::CorpusChristi, julian::EasterMonday, julian::GoodFriday, and julian::WhitMonday.
|
pure virtual |
Check holiday.
Method returns true if a given date is a holiday or false otherwise.
Implemented in julian::JPYHoliday, julian::CZKHoliday, julian::PLNHoliday, julian::CADHoliday, julian::USDHoliday, julian::CHFHoliday, julian::GBPHoliday, julian::HUFHoliday, julian::EURHoliday, julian::FixedHoliday, julian::CorpusChristi, julian::EasterMonday, julian::GoodFriday, and julian::WhitMonday.
|
inlineprivate |
interface used by Boost serialization library
The documentation for this class was generated from the following file:
- C:/Unix/home/OEM/jULIAN/src/dates/calendars/holiday.hpp