Holidays set for GBP currency. More...

#include <gbpHoliday.hpp>

Inheritance diagram for julian::GBPHoliday:
julian::Holiday

Public Member Functions

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

GBP holiday set contains:

  • New Year's Day (possibly moved to Monday)
  • Good Friday
  • Easter Monday
  • first Monday of May (Early May Bank holiday)
  • last Monday of May (Spring Bank holiday)
  • last Monday of August (Summer Bank holiday)
  • Christmas (possibly moved to Monday or Tuesday)
  • Boxing Day (possibly moved to Monday or Tuesday).
Warning
Class does not contain irregular holidays that occurred once (e.g. royal anniversaries).

Member Function Documentation

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

Virtual copy constructor.

Method is an implementation of virtual copy constructor.

Implements julian::Holiday.

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

informations about class

Method returns string that containing information about class.

Implements julian::Holiday.

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

Check if date is a holiday.

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

Implements julian::Holiday.

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