Holidays set for USD currency. More...

#include <usdHoliday.hpp>

Inheritance diagram for julian::USDHoliday:
julian::Holiday

Public Member Functions

virtual bool operator() (Date) const
 Check if date is a holiday. More...
 
virtual USDHolidayclone () const
 Virtual copy constructor Method is an implementation of 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 USD currency.

USD holiday set contains:

  • New Year's Day (1st of January, possibly moved to Monday if on Sunday)
  • Martin Luther King's birthday (third Monday in January)
  • Washington's birthday (third Monday in February)
  • Good Friday
  • Memorial Day (last Monday in May)
  • Independence Day (4th of July, Monday if Sunday or Friday if Saturday)
  • Labour Day (first Monday in September)
  • Columbus Day (second Monday in October)
  • Veteran's Day (11th of November, Monday if Sunday or Friday if Saturday)
  • Thanksgiving Day (fourth Thursday in November)
  • Christmas (25th of December, Monday if Sunday or Friday if Saturday).

Member Function Documentation

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

Virtual copy constructor Method is an implementation of virtual copy constructor.

Implements julian::Holiday.

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

informations about class

Method returns string that containing information about class.

Implements julian::Holiday.

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

Check if date is a holiday.

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

Implements julian::Holiday.

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