Payment schedule.
More...
#include <schedule.hpp>
|
| Schedule (const std::vector< Date > &, Calendar calendar=NullCalendar(), BusinessDayConvention convention=Unadjusted, const ext::optional< BusinessDayConvention > &terminationDateConvention=ext::nullopt, const ext::optional< Period > &tenor=ext::nullopt, const ext::optional< DateGeneration::Rule > &rule=ext::nullopt, const ext::optional< bool > &endOfMonth=ext::nullopt, std::vector< bool > isRegular=std::vector< bool >(0)) |
|
| Schedule (Date effectiveDate, const Date &terminationDate, const Period &tenor, Calendar calendar, BusinessDayConvention convention, BusinessDayConvention terminationDateConvention, DateGeneration::Rule rule, bool endOfMonth, const Date &firstDate=Date(), const Date &nextToLastDate=Date()) |
|
| Schedule ()=default |
|
|
Size | size () const |
|
const Date & | operator[] (Size i) const |
|
const Date & | at (Size i) const |
|
const Date & | date (Size i) const |
|
Date | previousDate (const Date &refDate) const |
|
Date | nextDate (const Date &refDate) const |
|
const std::vector< Date > & | dates () const |
|
bool | hasIsRegular () const |
|
bool | isRegular (Size i) const |
|
const std::vector< bool > & | isRegular () const |
|
|
bool | empty () const |
|
const Calendar & | calendar () const |
|
const Date & | startDate () const |
|
const Date & | endDate () const |
|
bool | hasTenor () const |
|
const Period & | tenor () const |
|
BusinessDayConvention | businessDayConvention () const |
|
bool | hasTerminationDateBusinessDayConvention () const |
|
BusinessDayConvention | terminationDateBusinessDayConvention () const |
|
bool | hasRule () const |
|
DateGeneration::Rule | rule () const |
|
bool | hasEndOfMonth () const |
|
bool | endOfMonth () const |
|
◆ const_iterator
◆ Schedule() [1/3]
constructor that takes any list of dates, and optionally meta information that can be used by client classes. Note that neither the list of dates nor the meta information is checked for plausibility in any sense.
Definition at line 58 of file schedule.cpp.
◆ Schedule() [2/3]
◆ Schedule() [3/3]
◆ size()
◆ operator[]()
◆ at()
◆ date()
◆ previousDate()
Date previousDate |
( |
const Date & |
refDate | ) |
const |
◆ nextDate()
Date nextDate |
( |
const Date & |
refDate | ) |
const |
◆ dates()
const std::vector< Date > & dates |
( |
| ) |
const |
◆ hasIsRegular()
bool hasIsRegular |
( |
| ) |
const |
◆ isRegular() [1/2]
◆ isRegular() [2/2]
const std::vector< bool > & isRegular |
( |
| ) |
const |
◆ empty()
◆ calendar()
◆ startDate()
const Date & startDate |
( |
| ) |
const |
◆ endDate()
const Date & endDate |
( |
| ) |
const |
◆ hasTenor()
◆ tenor()
const Period & tenor |
( |
| ) |
const |
◆ businessDayConvention()
◆ hasTerminationDateBusinessDayConvention()
bool hasTerminationDateBusinessDayConvention |
( |
| ) |
const |
◆ terminationDateBusinessDayConvention()
◆ hasRule()
◆ rule()
◆ hasEndOfMonth()
bool hasEndOfMonth |
( |
| ) |
const |
◆ endOfMonth()
bool endOfMonth |
( |
| ) |
const |
◆ begin()
◆ end()
◆ lower_bound()
◆ after()
◆ until()
◆ tenor_
◆ calendar_
◆ convention_
◆ terminationDateConvention_
◆ rule_
◆ endOfMonth_
ext::optional<bool> endOfMonth_ |
|
private |
◆ firstDate_
◆ nextToLastDate_
◆ dates_
◆ isRegular_
std::vector<bool> isRegular_ |
|
private |