QuantLib_DateInterval man page

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.

Referenced By

DateInterval(3), endDate(3), intersection(3) and isDateBetween(3) are aliases of QuantLib_DateInterval(3).

Fri Sep 23 2016 Version 1.8.1 QuantLib