- java.lang.Object
-
- org.quantlib.Schedule
-
- All Implemented Interfaces:
AutoCloseable,org.quantlib.helpers.QuantLibJNIHelpers.AutoCloseable
public class Schedule extends Object implements org.quantlib.helpers.QuantLibJNIHelpers.AutoCloseable
-
-
Field Summary
Fields Modifier and Type Field Description protected booleanswigCMemOwn
-
Constructor Summary
Constructors Modifier Constructor Description Schedule()protectedSchedule(long cPtr, boolean cMemoryOwn)Schedule(Date effectiveDate, Date terminationDate, Period tenor, Calendar calendar, BusinessDayConvention convention, BusinessDayConvention terminationDateConvention, DateGeneration.Rule rule, boolean endOfMonth)Schedule(Date effectiveDate, Date terminationDate, Period tenor, Calendar calendar, BusinessDayConvention convention, BusinessDayConvention terminationDateConvention, DateGeneration.Rule rule, boolean endOfMonth, Date firstDate)Schedule(Date effectiveDate, Date terminationDate, Period tenor, Calendar calendar, BusinessDayConvention convention, BusinessDayConvention terminationDateConvention, DateGeneration.Rule rule, boolean endOfMonth, Date firstDate, Date nextToLastDate)Schedule(DateVector arg0)Schedule(DateVector arg0, Calendar calendar)Schedule(DateVector arg0, Calendar calendar, BusinessDayConvention convention)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Scheduleafter(Date truncationDate)BusinessDayConventionbusinessDayConvention()Calendarcalendar()Datedate(long i)DateVectordates()voiddelete()DateendDate()booleanendOfMonth()protected voidfinalize()protected static longgetCPtr(Schedule obj)booleanhasEndOfMonth()booleanhasIsRegular()booleanhasRule()booleanhasTenor()booleanhasTerminationDateBusinessDayConvention()BoolVectorisRegular()booleanisRegular(long i)DatenextDate(Date refDate)DatepreviousDate(Date refDate)DateGeneration.Rulerule()longsize()DatestartDate()protected static longswigRelease(Schedule obj)Periodtenor()BusinessDayConventionterminationDateBusinessDayConvention()Scheduleuntil(Date truncationDate)
-
-
-
Field Detail
-
swigCMemOwn
protected transient boolean swigCMemOwn
-
-
Constructor Detail
-
Schedule
protected Schedule(long cPtr, boolean cMemoryOwn)
-
Schedule
public Schedule(DateVector arg0, Calendar calendar, BusinessDayConvention convention)
-
Schedule
public Schedule(DateVector arg0, Calendar calendar)
-
Schedule
public Schedule(DateVector arg0)
-
Schedule
public Schedule(Date effectiveDate, Date terminationDate, Period tenor, Calendar calendar, BusinessDayConvention convention, BusinessDayConvention terminationDateConvention, DateGeneration.Rule rule, boolean endOfMonth, Date firstDate, Date nextToLastDate)
-
Schedule
public Schedule(Date effectiveDate, Date terminationDate, Period tenor, Calendar calendar, BusinessDayConvention convention, BusinessDayConvention terminationDateConvention, DateGeneration.Rule rule, boolean endOfMonth, Date firstDate)
-
Schedule
public Schedule(Date effectiveDate, Date terminationDate, Period tenor, Calendar calendar, BusinessDayConvention convention, BusinessDayConvention terminationDateConvention, DateGeneration.Rule rule, boolean endOfMonth)
-
Schedule
public Schedule()
-
-
Method Detail
-
swigRelease
protected static long swigRelease(Schedule obj)
-
delete
public void delete()
- Specified by:
deletein interfaceorg.quantlib.helpers.QuantLibJNIHelpers.AutoCloseable
-
size
public long size()
-
previousDate
public Date previousDate(Date refDate)
-
dates
public DateVector dates()
-
hasIsRegular
public boolean hasIsRegular()
-
isRegular
public boolean isRegular(long i)
-
isRegular
public BoolVector isRegular()
-
hasTenor
public boolean hasTenor()
-
businessDayConvention
public BusinessDayConvention businessDayConvention()
-
hasTerminationDateBusinessDayConvention
public boolean hasTerminationDateBusinessDayConvention()
-
terminationDateBusinessDayConvention
public BusinessDayConvention terminationDateBusinessDayConvention()
-
hasRule
public boolean hasRule()
-
rule
public DateGeneration.Rule rule()
-
hasEndOfMonth
public boolean hasEndOfMonth()
-
endOfMonth
public boolean endOfMonth()
-
-