public static final class BusinessDayAdjustment.Builder extends org.joda.beans.impl.direct.DirectFieldsBeanBuilder<BusinessDayAdjustment>
BusinessDayAdjustment.| Modifier and Type | Method and Description |
|---|---|
BusinessDayAdjustment |
build() |
BusinessDayAdjustment.Builder |
calendar(HolidayCalendarId calendar)
Sets the calendar that defines holidays and business days.
|
BusinessDayAdjustment.Builder |
convention(BusinessDayConvention convention)
Sets the convention used to the adjust the date if it does not fall on a business day.
|
Object |
get(String propertyName) |
BusinessDayAdjustment.Builder |
set(org.joda.beans.MetaProperty<?> property,
Object value) |
BusinessDayAdjustment.Builder |
set(String propertyName,
Object newValue) |
String |
toString() |
public Object get(String propertyName)
get in interface org.joda.beans.BeanBuilder<BusinessDayAdjustment>get in class org.joda.beans.impl.direct.DirectFieldsBeanBuilder<BusinessDayAdjustment>public BusinessDayAdjustment.Builder set(String propertyName, Object newValue)
public BusinessDayAdjustment.Builder set(org.joda.beans.MetaProperty<?> property, Object value)
set in interface org.joda.beans.BeanBuilder<BusinessDayAdjustment>set in class org.joda.beans.impl.direct.DirectFieldsBeanBuilder<BusinessDayAdjustment>public BusinessDayAdjustment build()
public BusinessDayAdjustment.Builder convention(BusinessDayConvention convention)
The convention determines whether to move forwards or backwards when it is a holiday.
convention - the new value, not nullpublic BusinessDayAdjustment.Builder calendar(HolidayCalendarId calendar)
When the adjustment is made, this calendar is used to skip holidays.
calendar - the new value, not nullpublic String toString()
toString in class org.joda.beans.impl.direct.DirectFieldsBeanBuilder<BusinessDayAdjustment>Copyright 2009-Present by OpenGamma Inc. and individual contributors
Apache v2 licensed
Additional documentation can be found at strata.opengamma.io.