intersection (3) - Linux Manuals

intersection: Date interval described by a number of a given time unit.

NAME

QuantLib::DateInterval - Date interval described by a number of a given time unit.

SYNOPSIS


#include <ql/experimental/commodities/dateinterval.hpp>

Inherited by PricingPeriod.

Public Member Functions


DateInterval (const Date &startDate, const Date &endDate)

const Date & startDate () const

const Date & endDate () const

bool isDateBetween (Date date, bool includeFirst=true, bool includeLast=true) const

DateInterval intersection (const DateInterval &di) const

bool operator== (const DateInterval &rhs) const

bool operator!= (const DateInterval &rhs) const

Friends


std::ostream & operator<< (std::ostream &, const DateInterval &)

Detailed Description

Date interval described by a number of a given time unit.

Author

Generated automatically by Doxygen for QuantLib from the source code.