Holidays set for CAD currency. More...

#include <cadHoliday.hpp>

Inheritance diagram for julian::CADHoliday:
julian::Holiday

Public Member Functions

virtual bool operator() (Date) const
 Check if date is a holiday. More...
 
virtual CADHolidayclone () 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 &, const unsigned int)
 interface used by Boost serialization library More...
 

Friends

class boost::serialization::access
 

Detailed Description

Holidays set for CAD currency.

CAD holiday set contains:

  • New Year (1st of January, possible move to Monday)
  • Family Day, third Monday of February (since 2008)
  • Good Friday
  • Victoria Day, the Monday on or preceding May 24th
  • Canada Day, July 1st (possibly moved to Monday)
  • Provincial Holiday, first Monday of August
  • Labour Day, first Monday of September
  • Thanksgiving Day, second Monday of October
  • Remembrance Day, November 11th (possibly moved to Monday)
  • Christmas, December 25th (possibly moved to Monday or Tuesday)
  • Boxing Day, December 26th (possibly moved to Monday or Tuesday)

Member Function Documentation

CADHoliday * julian::CADHoliday::clone ( ) const
virtual

Virtual copy constructor.

Method is an implementation of virtual copy constructor.

Implements julian::Holiday.

std::string julian::CADHoliday::info ( ) const
virtual

informations about class

Method returns string that containing information about class.

Implements julian::Holiday.

bool julian::CADHoliday::operator() ( Date  date) const
virtual

Check if date is a holiday.

Method return true if date is CAD holiday and false otherwise.

Implements julian::Holiday.

template<class Archive >
void julian::CADHoliday::serialize ( Archive &  ,
const unsigned  int 
)
inlineprivate

interface used by Boost serialization library


The documentation for this class was generated from the following files:
  • C:/Unix/home/OEM/jULIAN/src/dates/calendars/cadHoliday.hpp
  • C:/Unix/home/OEM/jULIAN/src/dates/calendars/cadHoliday.cpp