| Package | Description |
|---|---|
| com.opengamma.strata.basics.date |
Tools for working with dates.
|
| Modifier and Type | Class and Description |
|---|---|
class |
ImmutableHolidayCalendar
An immutable holiday calendar implementation.
|
| Modifier and Type | Field and Description |
|---|---|
static HolidayCalendar |
HolidayCalendars.FRI_SAT
An instance declaring all days as business days except Friday/Saturday weekends.
|
static HolidayCalendar |
HolidayCalendars.NO_HOLIDAYS
An instance declaring no holidays and no weekends.
|
static HolidayCalendar |
HolidayCalendars.SAT_SUN
An instance declaring all days as business days except Saturday/Sunday weekends.
|
static HolidayCalendar |
HolidayCalendars.THU_FRI
An instance declaring all days as business days except Thursday/Friday weekends.
|
| Modifier and Type | Method and Description |
|---|---|
default HolidayCalendar |
HolidayCalendar.combinedWith(HolidayCalendar other)
Combines this holiday calendar with another.
|
default HolidayCalendar |
HolidayCalendar.linkedWith(HolidayCalendar other)
Combines this holiday calendar with another.
|
static HolidayCalendar |
HolidayCalendars.of(String uniqueName)
Obtains an instance from the set of standard holiday calendars.
|
HolidayCalendar |
HolidayCalendarId.queryValueOrNull(ReferenceData refData) |
HolidayCalendar |
HolidayCalendarId.resolve(ReferenceData refData)
Resolves this identifier to a holiday calendar using the specified reference data.
|
| Modifier and Type | Method and Description |
|---|---|
static ExtendedEnum<HolidayCalendar> |
HolidayCalendars.extendedEnum()
Gets the extended enum helper.
|
Class<HolidayCalendar> |
HolidayCalendarId.getReferenceDataType()
Gets the type of data this identifier refers to.
|
| Modifier and Type | Method and Description |
|---|---|
LocalDate |
BusinessDayConvention.adjust(LocalDate date,
HolidayCalendar calendar)
Adjusts the date as necessary if it is not a business day.
|
LocalDate |
PeriodAdditionConvention.adjust(LocalDate baseDate,
Period period,
HolidayCalendar calendar)
Adjusts the base date, adding the period and applying the convention rule.
|
default HolidayCalendar |
HolidayCalendar.combinedWith(HolidayCalendar other)
Combines this holiday calendar with another.
|
default HolidayCalendar |
HolidayCalendar.linkedWith(HolidayCalendar other)
Combines this holiday calendar with another.
|
Copyright 2009-Present by OpenGamma Inc. and individual contributors
Apache v2 licensed
Additional documentation can be found at strata.opengamma.io.