QuantLib: a free/open-source library for quantitative finance
Reference manual - version 1.40
Loading...
Searching...
No Matches
PricingPeriod Class Reference

Time pricingperiod described by a number of a given time unit. More...

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

Inheritance diagram for PricingPeriod:

Public Member Functions

 PricingPeriod (const Date &startDate, const Date &endDate, const Date &paymentDate, Quantity quantity)
const DatepaymentDate () const
const Quantityquantity () const
Public Member Functions inherited from DateInterval
 DateInterval (const Date &startDate, const Date &endDate)
const DatestartDate () const
const DateendDate () 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

Detailed Description

Time pricingperiod described by a number of a given time unit.