Holidays set for CHF currency. More...

#include <chfHoliday.hpp>

Inheritance diagram for julian::CHFHoliday:
julian::Holiday

Public Member Functions

virtual bool operator() (Date) const
 Check if date is a holiday. More...
 
virtual CHFHolidayclone () 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 CHF currency.

CHF holiday set contains:

  • New Year (1st of January)
  • Berchtoldstag (2nd of January)
  • Good Friday
  • Easter Monday
  • Ascension Day
  • Whit Monday
  • Labour Day (1st of May)
  • National Day (1st of August)
  • Christmas (25th of December)
  • 2nd Day of Christmas (26th of December).

Member Function Documentation

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

Virtual copy constructor.

Method is an implementation of virtual copy constructor.

Implements julian::Holiday.

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

informations about class

Method returns string that containing information about class.

Implements julian::Holiday.

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

Check if date is a holiday.

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

Implements julian::Holiday.

template<class Archive >
void julian::CHFHoliday::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/chfHoliday.hpp
  • C:/Unix/home/OEM/jULIAN/src/dates/calendars/chfHoliday.cpp