Package | Description |
---|---|
net.objectlab.kit.datecalc.common |
This package provides functionalities that are used by both JDK and Joda implementation,
it is not released alone but included in the datecalc-jdk, datecalc-jdk8 or datecalc-joda JARs.
|
net.objectlab.kit.datecalc.common.ccy |
This package implements the abstract CurrencyDateCalculator interfaces; it is not released alone but included in the datecalc-jdk, datecalc-jdk8 or datecalc-joda JARs.
|
net.objectlab.kit.datecalc.jdk |
This package provides a pure JDK implementation of the DateCalculator for both Calendar and Date, it is
released as a standalone datecalc-jdk JAR.
|
net.objectlab.kit.datecalc.jdk8 |
This package implements the DateCalculator interfaces using JDK8
|
net.objectlab.kit.datecalc.joda |
This package implements the DateCalculator interfaces using Joda-time See Joda-time
|
Modifier and Type | Field and Description |
---|---|
static WorkingWeek |
WorkingWeek.ARABIC_WEEK |
static WorkingWeek |
WorkingWeek.DEFAULT |
Modifier and Type | Method and Description |
---|---|
WorkingWeek |
CurrencyDateCalculator.getCcy1Week() |
WorkingWeek |
CurrencyDateCalculatorBuilder.getCcy1Week() |
WorkingWeek |
CurrencyDateCalculator.getCcy2Week() |
WorkingWeek |
CurrencyDateCalculatorBuilder.getCcy2Week() |
WorkingWeek |
CurrencyDateCalculator.getCrossCcyWeek() |
WorkingWeek |
CurrencyDateCalculatorBuilder.getCrossCcyWeek() |
WorkingWeek |
WorkingWeek.intersection(WorkingWeek ww)
Create a new calendar with the intersection of WORKING days.
|
WorkingWeek |
WorkingWeek.withWorkingDayFromCalendar(boolean working,
int dayOfWeek)
If the value for the given day has changed, return a NEW WorkingWeek.
|
Modifier and Type | Method and Description |
---|---|
CurrencyDateCalculatorBuilder<E> |
CurrencyDateCalculatorBuilder.ccy1Week(WorkingWeek ccy1Week)
Provides the definition of a working week for the currency; if not provided and the currencyCalculatorConfig is given, it
will do a look up for this currency.
|
CurrencyDateCalculatorBuilder<E> |
CurrencyDateCalculatorBuilder.ccy2Week(WorkingWeek ccy2Week)
Provides the definition of a working week for the currency; if not provided and the currencyCalculatorConfig is given, it
will do a look up for this currency.
|
CurrencyDateCalculatorBuilder<E> |
CurrencyDateCalculatorBuilder.crossCcyWeek(WorkingWeek crossCcyWeek)
If brokenDate is not allowed, we do require to check the WorkingWeek and Holiday for the crossCcy when
validating the SpotDate or a Tenor date.
|
WorkingWeek |
WorkingWeek.intersection(WorkingWeek ww)
Create a new calendar with the intersection of WORKING days.
|
DateCalculator<E> |
DateCalculator.setWorkingWeek(WorkingWeek week)
Allows user to define what their Working Week should be (default is
Mon-Fri).
|
Modifier and Type | Method and Description |
---|---|
WorkingWeek |
AbstractCurrencyDateCalculator.getCcy1Week() |
WorkingWeek |
AbstractCurrencyDateCalculator.getCcy2Week() |
WorkingWeek |
AbstractCurrencyDateCalculator.getCrossCcyWeek() |
WorkingWeek |
CurrencyCalculatorConfig.getWorkingWeek(String currency)
Return a default Mon-Fri for most, but some might be Sun-Thu (Arabic countries).
|
WorkingWeek |
DefaultCurrencyCalculatorConfig.getWorkingWeek(String currency)
Return a default Mon-Fri for most, but some might be Sun-Thu (Arabic countries).
|
Modifier and Type | Method and Description |
---|---|
void |
DefaultCurrencyCalculatorConfig.setWorkingWeeks(Map<String,WorkingWeek> workingWeeks)
Will take a copy of a non null map but doing so by replacing the internal one in one go for consistency.
|
Modifier and Type | Method and Description |
---|---|
DateCalculator<Date> |
DateDateCalculator.setWorkingWeek(WorkingWeek week) |
DateCalculator<Calendar> |
CalendarDateCalculator.setWorkingWeek(WorkingWeek week) |
Modifier and Type | Class and Description |
---|---|
class |
Jdk8WorkingWeek
Immutable class representing a WorkingWeek for the Joda implementation.
|
Modifier and Type | Method and Description |
---|---|
DateCalculator<LocalDate> |
LocalDateCalculator.setWorkingWeek(WorkingWeek week)
Set the working week.
|
Constructor and Description |
---|
Jdk8WorkingWeek(WorkingWeek ww) |
Modifier and Type | Class and Description |
---|---|
class |
JodaWorkingWeek
Immutable class representing a WorkingWeek for the Joda implementation.
|
Modifier and Type | Method and Description |
---|---|
DateCalculator<org.joda.time.LocalDate> |
LocalDateCalculator.setWorkingWeek(WorkingWeek week)
Set the working week.
|
Constructor and Description |
---|
JodaWorkingWeek(WorkingWeek ww) |
Copyright © 2006–2022 Appendium - Portfolio Financing Platform. All rights reserved.