public static final class TenorAdjustment.Builder extends org.joda.beans.impl.direct.DirectFieldsBeanBuilder<TenorAdjustment>
TenorAdjustment.| Modifier and Type | Method and Description |
|---|---|
TenorAdjustment.Builder |
additionConvention(PeriodAdditionConvention additionConvention)
Sets the addition convention to apply.
|
TenorAdjustment.Builder |
adjustment(BusinessDayAdjustment adjustment)
Sets the business day adjustment that is performed to the result of the addition.
|
TenorAdjustment |
build() |
Object |
get(String propertyName) |
TenorAdjustment.Builder |
set(org.joda.beans.MetaProperty<?> property,
Object value) |
TenorAdjustment.Builder |
set(String propertyName,
Object newValue) |
TenorAdjustment.Builder |
tenor(Tenor tenor)
Sets the tenor to be added.
|
String |
toString() |
public Object get(String propertyName)
get in interface org.joda.beans.BeanBuilder<TenorAdjustment>get in class org.joda.beans.impl.direct.DirectFieldsBeanBuilder<TenorAdjustment>public TenorAdjustment.Builder set(String propertyName, Object newValue)
public TenorAdjustment.Builder set(org.joda.beans.MetaProperty<?> property, Object value)
set in interface org.joda.beans.BeanBuilder<TenorAdjustment>set in class org.joda.beans.impl.direct.DirectFieldsBeanBuilder<TenorAdjustment>public TenorAdjustment build()
public TenorAdjustment.Builder tenor(Tenor tenor)
When the adjustment is performed, this tenor will be added to the input date.
tenor - the new value, not nullpublic TenorAdjustment.Builder additionConvention(PeriodAdditionConvention additionConvention)
When the adjustment is performed, this convention is used to refine the adjusted date. The most common convention is to move the end date to the last business day of the month if the start date is the last business day of the month.
additionConvention - the new value, not nullpublic TenorAdjustment.Builder adjustment(BusinessDayAdjustment adjustment)
This adjustment is applied to the result of the addition calculation.
If no adjustment is required, use the 'None' business day adjustment.
adjustment - the new value, not nullpublic String toString()
toString in class org.joda.beans.impl.direct.DirectFieldsBeanBuilder<TenorAdjustment>Copyright 2009-Present by OpenGamma Inc. and individual contributors
Apache v2 licensed
Additional documentation can be found at strata.opengamma.io.