|
QuantLib: a free/open-source library for quantitative finance
fully annotated source code - version 1.38
|
Time pricingperiod described by a number of a given time unit. More...
#include <pricingperiod.hpp>
Inheritance diagram for PricingPeriod:
Collaboration diagram for PricingPeriod:Public Member Functions | |
| PricingPeriod (const Date &startDate, const Date &endDate, const Date &paymentDate, Quantity quantity) | |
| const Date & | paymentDate () const |
| const Quantity & | quantity () const |
Public Member Functions inherited from DateInterval | |
| DateInterval ()=default | |
| 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 |
Private Attributes | |
| Date | paymentDate_ |
| Quantity | quantity_ |
Time pricingperiod described by a number of a given time unit.
Definition at line 36 of file pricingperiod.hpp.
| PricingPeriod | ( | const Date & | startDate, |
| const Date & | endDate, | ||
| const Date & | paymentDate, | ||
| Quantity | quantity | ||
| ) |
Definition at line 38 of file pricingperiod.hpp.
| const Date & paymentDate | ( | ) | const |
Definition at line 44 of file pricingperiod.hpp.
| const Quantity & quantity | ( | ) | const |
Definition at line 45 of file pricingperiod.hpp.
|
private |
Definition at line 47 of file pricingperiod.hpp.
|
private |
Definition at line 48 of file pricingperiod.hpp.