Fixed date holiday. More...
#include <fixedHoliday.hpp>
Public Member Functions | |
FixedHoliday () | |
Default constructor. More... | |
FixedHoliday (int month, int day) | |
Constructor. More... | |
virtual bool | operator() (Date) const |
Checks if a date is fixed holiday. More... | |
virtual FixedHoliday * | clone () const |
Virtual copy constructor. More... | |
virtual std::string | info () const |
Informations about class. More... | |
Public Member Functions inherited from julian::Holiday | |
Holiday () | |
Constructor. More... | |
virtual | ~Holiday () |
deconstructor More... | |
Private Member Functions | |
template<class Archive > | |
void | serialize (Archive &ar, const unsigned int) |
interface used by Boost serialization library More... | |
Private Attributes | |
int | month_ |
month of fixed holiday More... | |
int | day_ |
day of fixed holiday More... | |
Friends | |
class | boost::serialization::access |
Detailed Description
Fixed date holiday.
Fixed date holiday may represent a holiday that occurs every year on the same day and month.
Constructor & Destructor Documentation
|
inline |
Default constructor.
|
inline |
Constructor.
Member Function Documentation
|
virtual |
Virtual copy constructor.
Method is an implementation of virtual copy constructor.
Implements julian::Holiday.
|
virtual |
Informations about class.
Method returns string that containing information about class.
Implements julian::Holiday.
|
virtual |
Checks if a date is fixed holiday.
Method returns true if a date is fixed date holiday and false otherwise.
Implements julian::Holiday.
|
inlineprivate |
interface used by Boost serialization library
Member Data Documentation
|
private |
day of fixed holiday
Integer represents the day on which fixed holiday occurs.
|
private |
month of fixed holiday
Integer represents the month in which fixed holiday occurs.
The documentation for this class was generated from the following files:
- C:/Unix/home/OEM/jULIAN/src/dates/calendars/fixedHoliday.hpp
- C:/Unix/home/OEM/jULIAN/src/dates/calendars/fixedHoliday.cpp