org.jquantlib.time
Class MakeSchedule
- java.lang.Object
-
- org.jquantlib.time.MakeSchedule
-
- All Implemented Interfaces:
- java.lang.Cloneable
public class MakeSchedule extends java.lang.Object implements java.lang.CloneableHelper classThis class provides a more comfortable interface to the argument list of Schedule's constructor.
-
-
Constructor Summary
Constructors Constructor and Description MakeSchedule(Date effectiveDate, Date terminationDate, Period tenor, Calendar calendar, BusinessDayConvention convention)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description MakeSchedulebackwards()MakeScheduleclone()MakeScheduleendOfMonth()MakeScheduleendOfMonth(boolean flag)MakeScheduleforwards()Scheduleschedule()MakeSchedule::operator Schedule() const { return Schedule(effectiveDate_, terminationDate_, tenor_, calendar_, convention_, terminationDateConvention_, rule_, endOfMonth_, firstDate_, nextToLastDate_);MakeSchedulewithFirstDate(Date d)MakeSchedulewithNextToLastDate(Date d)MakeSchedulewithRule(DateGeneration.Rule r)MakeSchedulewithTerminationDateConvention(BusinessDayConvention conv)
-
-
-
Constructor Detail
-
MakeSchedule
public MakeSchedule(Date effectiveDate, Date terminationDate, Period tenor, Calendar calendar, BusinessDayConvention convention)
-
-
Method Detail
-
withTerminationDateConvention
public MakeSchedule withTerminationDateConvention(BusinessDayConvention conv)
-
withRule
public MakeSchedule withRule(DateGeneration.Rule r)
-
forwards
public MakeSchedule forwards()
-
backwards
public MakeSchedule backwards()
-
endOfMonth
public MakeSchedule endOfMonth()
-
endOfMonth
public MakeSchedule endOfMonth(boolean flag)
-
withFirstDate
public MakeSchedule withFirstDate(Date d)
-
withNextToLastDate
public MakeSchedule withNextToLastDate(Date d)
-
schedule
public Schedule schedule()
MakeSchedule::operator Schedule() const { return Schedule(effectiveDate_, terminationDate_, tenor_, calendar_, convention_, terminationDateConvention_, rule_, endOfMonth_, firstDate_, nextToLastDate_);- Returns:
-
clone
public MakeSchedule clone()
- Overrides:
clonein classjava.lang.Object
-
-
DataMelt 3.0 © DataMelt by jWork.ORG