org.jquantlib.time
Class Schedule
- java.lang.Object
-
- org.jquantlib.time.Schedule
-
public class Schedule extends java.lang.ObjectPayment schedule
-
-
Constructor Summary
Constructors Constructor and Description 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, Date nextToLastDate)Schedule(java.util.List<Date> dates)Schedule(java.util.List<Date> dates, Calendar calendar)Schedule(java.util.List<Date> dates, Calendar calendar, BusinessDayConvention convention)
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method and Description Dateat(int i)java.util.Iterator<Date>begin()Deprecated.BusinessDayConventionbusinessDayConvention()Calendarcalendar()Datedate(int i)java.util.List<Date>dates()booleanempty()java.util.Iterator<Date>end()Deprecated.DateendDate()booleanendOfMonth()java.util.Iterator<Date>getDatesAfter(Date date)booleanisRegular(int i)intlowerBound()intlowerBound(Date refDate)DatenextDate(Date refDate)DatepreviousDate(Date refDate)DateGeneration.Rulerule()intsize()DatestartDate()Periodtenor()BusinessDayConventionterminationDateBusinessDayConvention()
-
-
-
Constructor Detail
-
Schedule
public Schedule(java.util.List<Date> dates)
-
Schedule
public Schedule(java.util.List<Date> dates, Calendar calendar, BusinessDayConvention convention)
-
Schedule
public Schedule(Date effectiveDate, Date terminationDate, Period tenor, Calendar calendar, BusinessDayConvention convention, BusinessDayConvention terminationDateConvention, DateGeneration.Rule rule, boolean endOfMonth)
-
Schedule
public Schedule(Date effectiveDate, Date terminationDate, Period tenor, Calendar calendar, BusinessDayConvention convention, BusinessDayConvention terminationDateConvention, DateGeneration.Rule rule, boolean endOfMonth, Date firstDate, Date nextToLastDate)
-
-
Method Detail
-
size
public int size()
-
at
public final Date at(int i)
-
date
public final Date date(int i)
-
dates
public java.util.List<Date> dates()
-
isRegular
public boolean isRegular(int i)
-
empty
public boolean empty()
-
calendar
public final Calendar calendar()
-
startDate
public final Date startDate()
-
endDate
public final Date endDate()
-
tenor
public final Period tenor()
-
businessDayConvention
public BusinessDayConvention businessDayConvention()
-
terminationDateBusinessDayConvention
public BusinessDayConvention terminationDateBusinessDayConvention()
-
rule
public DateGeneration.Rule rule()
-
endOfMonth
public boolean endOfMonth()
-
begin
@Deprecated public java.util.Iterator<Date> begin()
Deprecated.
-
end
@Deprecated public java.util.Iterator<Date> end()
Deprecated.
-
lowerBound
public int lowerBound()
-
lowerBound
public int lowerBound(Date refDate)
-
-
DataMelt 3.0 © DataMelt by jWork.ORG