| Package | Description |
|---|---|
| com.opengamma.strata.basics.date |
Tools for working with dates.
|
| Modifier and Type | Field and Description |
|---|---|
static BusinessDayConvention |
BusinessDayConventions.FOLLOWING
The 'Following' convention which adjusts to the next business day.
|
static BusinessDayConvention |
BusinessDayConventions.MODIFIED_FOLLOWING
The 'ModifiedFollowing' convention which adjusts to the next business day without crossing month end.
|
static BusinessDayConvention |
BusinessDayConventions.MODIFIED_FOLLOWING_BI_MONTHLY
The 'ModifiedFollowingBiMonthly' convention which adjusts to the next business day without
crossing mid-month or month end.
|
static BusinessDayConvention |
BusinessDayConventions.MODIFIED_PRECEDING
The 'ModifiedPreceding' convention which adjusts to the previous business day without crossing month start.
|
static BusinessDayConvention |
BusinessDayConventions.NEAREST
The 'Nearest' convention which adjusts Sunday and Monday forward, and other days backward.
|
static BusinessDayConvention |
BusinessDayConventions.NO_ADJUST
The 'NoAdjust' convention which makes no adjustment.
|
static BusinessDayConvention |
BusinessDayConventions.PRECEDING
The 'Preceding' convention which adjusts to the previous business day.
|
| Modifier and Type | Method and Description |
|---|---|
BusinessDayConvention |
BusinessDayAdjustment.getConvention()
Gets the convention used to the adjust the date if it does not fall on a business day.
|
static BusinessDayConvention |
BusinessDayConvention.of(String uniqueName)
Obtains an instance from the specified unique name.
|
| Modifier and Type | Method and Description |
|---|---|
org.joda.beans.MetaProperty<BusinessDayConvention> |
BusinessDayAdjustment.Meta.convention()
The meta-property for the
convention property. |
static ExtendedEnum<BusinessDayConvention> |
BusinessDayConvention.extendedEnum()
Gets the extended enum helper.
|
| Modifier and Type | Method and Description |
|---|---|
BusinessDayAdjustment.Builder |
BusinessDayAdjustment.Builder.convention(BusinessDayConvention convention)
Sets the convention used to the adjust the date if it does not fall on a business day.
|
static BusinessDayAdjustment |
BusinessDayAdjustment.of(BusinessDayConvention convention,
HolidayCalendarId calendar)
Obtains an instance using the specified convention and calendar.
|
Copyright 2009-Present by OpenGamma Inc. and individual contributors
Apache v2 licensed
Additional documentation can be found at strata.opengamma.io.