public static final class SchedulePeriod.Builder extends org.joda.beans.impl.direct.DirectFieldsBeanBuilder<SchedulePeriod>
SchedulePeriod.| Modifier and Type | Method and Description |
|---|---|
SchedulePeriod |
build() |
SchedulePeriod.Builder |
endDate(LocalDate endDate)
Sets the end date of this period, used for financial calculations such as interest accrual.
|
Object |
get(String propertyName) |
SchedulePeriod.Builder |
set(org.joda.beans.MetaProperty<?> property,
Object value) |
SchedulePeriod.Builder |
set(String propertyName,
Object newValue) |
SchedulePeriod.Builder |
startDate(LocalDate startDate)
Sets the start date of this period, used for financial calculations such as interest accrual.
|
String |
toString() |
SchedulePeriod.Builder |
unadjustedEndDate(LocalDate unadjustedEndDate)
Sets the unadjusted end date.
|
SchedulePeriod.Builder |
unadjustedStartDate(LocalDate unadjustedStartDate)
Sets the unadjusted start date.
|
public Object get(String propertyName)
get in interface org.joda.beans.BeanBuilder<SchedulePeriod>get in class org.joda.beans.impl.direct.DirectFieldsBeanBuilder<SchedulePeriod>public SchedulePeriod.Builder set(String propertyName, Object newValue)
public SchedulePeriod.Builder set(org.joda.beans.MetaProperty<?> property, Object value)
set in interface org.joda.beans.BeanBuilder<SchedulePeriod>set in class org.joda.beans.impl.direct.DirectFieldsBeanBuilder<SchedulePeriod>public SchedulePeriod build()
public SchedulePeriod.Builder startDate(LocalDate startDate)
The first date in the schedule period, typically treated as inclusive. If the schedule adjusts for business days, then this is the adjusted date.
startDate - the new value, not nullpublic SchedulePeriod.Builder endDate(LocalDate endDate)
The last date in the schedule period, typically treated as exclusive. If the schedule adjusts for business days, then this is the adjusted date.
endDate - the new value, not nullpublic SchedulePeriod.Builder unadjustedStartDate(LocalDate unadjustedStartDate)
The start date before any business day adjustment. If the schedule adjusts for business days, then this is typically the regular periodic date. If the schedule does not adjust for business days, then this is the same as the start date.
When building, this will default to the start date if not specified.
unadjustedStartDate - the new value, not nullpublic SchedulePeriod.Builder unadjustedEndDate(LocalDate unadjustedEndDate)
The end date before any business day adjustment. If the schedule adjusts for business days, then this is typically the regular periodic date. If the schedule does not adjust for business days, then this is the same as the end date.
When building, this will default to the end date if not specified.
unadjustedEndDate - the new value, not nullpublic String toString()
toString in class org.joda.beans.impl.direct.DirectFieldsBeanBuilder<SchedulePeriod>Copyright 2009-Present by OpenGamma Inc. and individual contributors
Apache v2 licensed
Additional documentation can be found at strata.opengamma.io.