Modifier and Type | Method and Description |
---|---|
Schedule |
build() |
Schedule.Builder |
frequency(Frequency frequency)
Sets the periodic frequency used when building the schedule.
|
Object |
get(String propertyName) |
Schedule.Builder |
periods(List<SchedulePeriod> periods)
Sets the schedule periods.
|
Schedule.Builder |
periods(SchedulePeriod... periods)
Sets the
periods property in the builder
from an array of objects. |
Schedule.Builder |
rollConvention(RollConvention rollConvention)
Sets the roll convention used when building the schedule.
|
Schedule.Builder |
set(org.joda.beans.MetaProperty<?> property,
Object value) |
Schedule.Builder |
set(String propertyName,
Object newValue) |
String |
toString() |
public Schedule.Builder set(String propertyName, Object newValue)
public Schedule.Builder set(org.joda.beans.MetaProperty<?> property, Object value)
public Schedule build()
public Schedule.Builder periods(List<SchedulePeriod> periods)
There will be at least one period. The periods are ordered from earliest to latest. It is intended that each period is adjacent to the next one, however each period is independent and non-adjacent periods are allowed.
periods
- the new value, not emptypublic Schedule.Builder periods(SchedulePeriod... periods)
periods
property in the builder
from an array of objects.periods
- the new value, not emptypublic Schedule.Builder frequency(Frequency frequency)
If the schedule was not built from a regular periodic frequency, then the frequency should be a suitable estimate.
frequency
- the new value, not nullpublic Schedule.Builder rollConvention(RollConvention rollConvention)
If the schedule was not built from a regular periodic frequency, then the convention should be 'None'.
rollConvention
- the new value, not nullCopyright 2009-Present by OpenGamma Inc. and individual contributors
Apache v2 licensed
Additional documentation can be found at strata.opengamma.io.