public static final class ResetSchedule.Builder extends org.joda.beans.impl.direct.DirectFieldsBeanBuilder<ResetSchedule>
ResetSchedule.| Modifier and Type | Method and Description |
|---|---|
ResetSchedule |
build() |
ResetSchedule.Builder |
businessDayAdjustment(BusinessDayAdjustment businessDayAdjustment)
Sets the business day adjustment to apply to each reset date.
|
Object |
get(String propertyName) |
ResetSchedule.Builder |
resetFrequency(Frequency resetFrequency)
Sets the periodic frequency of reset dates.
|
ResetSchedule.Builder |
resetMethod(IborRateResetMethod resetMethod)
Sets the rate reset method, defaulted to 'Unweighted'.
|
ResetSchedule.Builder |
set(org.joda.beans.MetaProperty<?> property,
Object value) |
ResetSchedule.Builder |
set(String propertyName,
Object newValue) |
String |
toString() |
public Object get(String propertyName)
get in interface org.joda.beans.BeanBuilder<ResetSchedule>get in class org.joda.beans.impl.direct.DirectFieldsBeanBuilder<ResetSchedule>public ResetSchedule.Builder set(String propertyName, Object newValue)
public ResetSchedule.Builder set(org.joda.beans.MetaProperty<?> property, Object value)
set in interface org.joda.beans.BeanBuilder<ResetSchedule>set in class org.joda.beans.impl.direct.DirectFieldsBeanBuilder<ResetSchedule>public ResetSchedule build()
public ResetSchedule.Builder resetFrequency(Frequency resetFrequency)
Reset dates will be calculated within each accrual period based on unadjusted dates. The frequency must be the same as, or smaller than, the accrual periodic frequency. When calculating the reset dates, the roll convention of the accrual periods will be used. Once the unadjusted date calculation is complete, the business day adjustment specified here will be used.
Averaging applies if the reset frequency does not equal the accrual frequency.
resetFrequency - the new value, not nullpublic ResetSchedule.Builder businessDayAdjustment(BusinessDayAdjustment businessDayAdjustment)
This adjustment is applied to each reset date to ensure it is a valid business day.
businessDayAdjustment - the new value, not nullpublic ResetSchedule.Builder resetMethod(IborRateResetMethod resetMethod)
This is used when more than one fixing contributes to the accrual period.
Averaging may be weighted by the number of days that the fixing is applicable for. The number of days is based on the reset period, not the period between two fixing dates.
Defined by the 2006 ISDA definitions article 6.2a.
resetMethod - the new value, not nullpublic String toString()
toString in class org.joda.beans.impl.direct.DirectFieldsBeanBuilder<ResetSchedule>Copyright 2009-Present by OpenGamma Inc. and individual contributors
Apache v2 licensed
Additional documentation can be found at strata.opengamma.io.