Schedule Class Reference

#include <ql/schedule.hpp>

List of all members.


Detailed Description

Payment schedule.


Iterators

typedef std::vector< Date
>::const_iterator 
const_iterator
const_iterator begin () const
const_iterator end () const

Public Member Functions

 Schedule (const Calendar &calendar, const Date &startDate, const Date &endDate, Frequency frequency, BusinessDayConvention convention, const Date &stubDate=Date(), bool startFromEnd=false, bool longFinal=false)
 Schedule (const std::vector< Date > &, const Calendar &calendar, BusinessDayConvention convention)
 Schedule (const Calendar &calendar, const Date &startDate, const Date &endDate, Frequency frequency, BusinessDayConvention convention, bool isAdjusted, const Date &stubDate=Date(), bool startFromEnd=false, bool longFinal=false)
 Schedule (const std::vector< Date > &, const Calendar &calendar, BusinessDayConvention convention, bool isAdjusted)
Date access
Size size () const
const Dateoperator[] (Size i) const
const Datedate (Size i) const
bool isRegular (Size i) const
Other inspectors
const Calendarcalendar () const
const DatestartDate () const
const DateendDate () const
Frequency frequency () const
BusinessDayConvention businessDayConvention () const
BusinessDayConvention rollingConvention () const
bool isAdjusted () const


Constructor & Destructor Documentation

Schedule const Calendar calendar,
const Date startDate,
const Date endDate,
Frequency  frequency,
BusinessDayConvention  convention,
bool  isAdjusted,
const Date stubDate = Date(),
bool  startFromEnd = false,
bool  longFinal = false
 

Deprecated:
use the constructor without the isAdjusted argument; use convention = Unadjusted for isAdjusted = false.

Schedule const std::vector< Date > &  ,
const Calendar calendar,
BusinessDayConvention  convention,
bool  isAdjusted
 

Deprecated:
use the constructor without the isAdjusted argument; use convention = Unadjusted for isAdjusted = false.


Member Function Documentation

BusinessDayConvention rollingConvention  )  const
 

Deprecated:
renamed to businessDayConvention()

bool isAdjusted  )  const
 

Deprecated:
if you really need it (which you shouldn't) check that businessDayConvention() != Unadjusted


QuantLib.org
QuantLib
Hosted by
SourceForge.net Logo
Documentation generated by
doxygen