QuantLib: a free/open-source library for quantitative finance
fully annotated source code - version 1.34
|
helper class More...
#include <schedule.hpp>
Public Member Functions | |
MakeSchedule & | from (const Date &effectiveDate) |
MakeSchedule & | to (const Date &terminationDate) |
MakeSchedule & | withTenor (const Period &) |
MakeSchedule & | withFrequency (Frequency) |
MakeSchedule & | withCalendar (const Calendar &) |
MakeSchedule & | withConvention (BusinessDayConvention) |
MakeSchedule & | withTerminationDateConvention (BusinessDayConvention) |
MakeSchedule & | withRule (DateGeneration::Rule) |
MakeSchedule & | forwards () |
MakeSchedule & | backwards () |
MakeSchedule & | endOfMonth (bool flag=true) |
MakeSchedule & | withFirstDate (const Date &d) |
MakeSchedule & | withNextToLastDate (const Date &d) |
operator Schedule () const | |
Private Attributes | |
Calendar | calendar_ |
Date | effectiveDate_ |
Date | terminationDate_ |
ext::optional< Period > | tenor_ |
ext::optional< BusinessDayConvention > | convention_ |
ext::optional< BusinessDayConvention > | terminationDateConvention_ |
DateGeneration::Rule | rule_ = DateGeneration::Backward |
bool | endOfMonth_ = false |
Date | firstDate_ |
Date | nextToLastDate_ |
helper class
This class provides a more comfortable interface to the argument list of Schedule's constructor.
Definition at line 126 of file schedule.hpp.
MakeSchedule & from | ( | const Date & | effectiveDate | ) |
Definition at line 532 of file schedule.cpp.
MakeSchedule & to | ( | const Date & | terminationDate | ) |
Definition at line 537 of file schedule.cpp.
MakeSchedule & withTenor | ( | const Period & | tenor | ) |
MakeSchedule & withFrequency | ( | Frequency | frequency | ) |
Definition at line 547 of file schedule.cpp.
MakeSchedule & withCalendar | ( | const Calendar & | calendar | ) |
Definition at line 552 of file schedule.cpp.
MakeSchedule & withConvention | ( | BusinessDayConvention | conv | ) |
Definition at line 557 of file schedule.cpp.
MakeSchedule & withTerminationDateConvention | ( | BusinessDayConvention | conv | ) |
Definition at line 562 of file schedule.cpp.
MakeSchedule & withRule | ( | DateGeneration::Rule | r | ) |
Definition at line 568 of file schedule.cpp.
MakeSchedule & forwards | ( | ) |
MakeSchedule & backwards | ( | ) |
MakeSchedule & endOfMonth | ( | bool | flag = true | ) |
MakeSchedule & withFirstDate | ( | const Date & | d | ) |
Definition at line 588 of file schedule.cpp.
MakeSchedule & withNextToLastDate | ( | const Date & | d | ) |
Definition at line 593 of file schedule.cpp.
operator Schedule | ( | ) | const |
|
private |
Definition at line 143 of file schedule.hpp.
|
private |
Definition at line 144 of file schedule.hpp.
|
private |
Definition at line 144 of file schedule.hpp.
|
private |
Definition at line 145 of file schedule.hpp.
|
private |
Definition at line 146 of file schedule.hpp.
|
private |
Definition at line 147 of file schedule.hpp.
|
private |
Definition at line 148 of file schedule.hpp.
|
private |
Definition at line 149 of file schedule.hpp.
|
private |
Definition at line 150 of file schedule.hpp.
|
private |
Definition at line 150 of file schedule.hpp.