public static final class OvernightCompoundedAnnualRateComputation.Builder extends org.joda.beans.impl.direct.DirectFieldsBeanBuilder<OvernightCompoundedAnnualRateComputation>
OvernightCompoundedAnnualRateComputation.| Modifier and Type | Method and Description |
|---|---|
OvernightCompoundedAnnualRateComputation |
build() |
OvernightCompoundedAnnualRateComputation.Builder |
endDate(LocalDate endDate)
Sets the fixing date associated with the end date of the accrual period.
|
OvernightCompoundedAnnualRateComputation.Builder |
fixingCalendar(HolidayCalendar fixingCalendar)
Sets the resolved calendar that the index uses.
|
Object |
get(String propertyName) |
OvernightCompoundedAnnualRateComputation.Builder |
index(OvernightIndex index)
Sets the Overnight index.
|
OvernightCompoundedAnnualRateComputation.Builder |
set(org.joda.beans.MetaProperty<?> property,
Object value) |
OvernightCompoundedAnnualRateComputation.Builder |
set(String propertyName,
Object newValue) |
OvernightCompoundedAnnualRateComputation.Builder |
startDate(LocalDate startDate)
Sets the fixing date associated with the start date of the accrual period.
|
String |
toString() |
public Object get(String propertyName)
get in interface org.joda.beans.BeanBuilder<OvernightCompoundedAnnualRateComputation>get in class org.joda.beans.impl.direct.DirectFieldsBeanBuilder<OvernightCompoundedAnnualRateComputation>public OvernightCompoundedAnnualRateComputation.Builder set(String propertyName, Object newValue)
public OvernightCompoundedAnnualRateComputation.Builder set(org.joda.beans.MetaProperty<?> property, Object value)
set in interface org.joda.beans.BeanBuilder<OvernightCompoundedAnnualRateComputation>set in class org.joda.beans.impl.direct.DirectFieldsBeanBuilder<OvernightCompoundedAnnualRateComputation>public OvernightCompoundedAnnualRateComputation build()
public OvernightCompoundedAnnualRateComputation.Builder index(OvernightIndex index)
The rate to be paid is based on this index.
index - the new value, not nullpublic OvernightCompoundedAnnualRateComputation.Builder fixingCalendar(HolidayCalendar fixingCalendar)
fixingCalendar - the new value, not nullpublic OvernightCompoundedAnnualRateComputation.Builder startDate(LocalDate startDate)
This is also the first fixing date. The overnight rate is observed from this date onwards.
In general, the fixing dates and accrual dates are the same for an overnight index. However, in the case of a Tomorrow/Next index, the fixing period is one business day before the accrual period.
startDate - the new value, not nullpublic OvernightCompoundedAnnualRateComputation.Builder endDate(LocalDate endDate)
The overnight rate is observed until this date.
In general, the fixing dates and accrual dates are the same for an overnight index. However, in the case of a Tomorrow/Next index, the fixing period is one business day before the accrual period.
endDate - the new value, not nullpublic String toString()
toString in class org.joda.beans.impl.direct.DirectFieldsBeanBuilder<OvernightCompoundedAnnualRateComputation>Copyright 2009-Present by OpenGamma Inc. and individual contributors
Apache v2 licensed
Additional documentation can be found at strata.opengamma.io.