public interface ScheduleInterface extends Iterable<Period>
Period
which contains Calendar
dates and
an alternative representation using doubles.
Within a schedule, the mapping from doubles to dates is one to one.Modifier and Type | Method and Description |
---|---|
DayCountConventionInterface |
getDaycountconvention()
Returns the daycount convention used to calculate period lengths.
|
double |
getFixing(int periodIndex) |
int |
getNumberOfPeriods() |
double |
getPayment(int periodIndex) |
Period |
getPeriod(int periodIndex) |
double |
getPeriodLength(int periodIndex) |
ArrayList<Period> |
getPeriods()
Returns the array of periods.
|
Calendar |
getReferenceDate()
Returns the reference data of this schedule.
|
forEach, iterator, spliterator
Calendar getReferenceDate()
ArrayList<Period> getPeriods()
DayCountConventionInterface getDaycountconvention()
int getNumberOfPeriods()
Period getPeriod(int periodIndex)
double getFixing(int periodIndex)
double getPayment(int periodIndex)
double getPeriodLength(int periodIndex)
Copyright © 2014. All rights reserved.