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.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 | Method and Description |
---|---|
HolidayHandler<E> |
AbstractDateCalculator.getHolidayHandler() |
HolidayHandler<E> |
KitCalculatorsFactory.getHolidayHandler(String holidayHandlerType)
Create a new holiday handler of given type
|
HolidayHandler<E> |
CurrencyDateCalculatorBuilder.getTenorHolidayHandler() |
Modifier and Type | Method and Description |
---|---|
protected abstract DateCalculator<E> |
AbstractDateCalculator.createNewCalculator(String calcName,
E theStartDate,
HolidayCalendar<E> holidays,
HolidayHandler<E> handler) |
DateCalculator<E> |
AbstractDateCalculator.setHolidayHandler(HolidayHandler<E> holidayHandler) |
CurrencyDateCalculatorBuilder<E> |
CurrencyDateCalculatorBuilder.tenorHolidayHandler(HolidayHandler<E> holidayHandler)
Provides the holiday handler for the Tenor Date, note that Spot is ALWAYS using Forward.
|
Constructor and Description |
---|
AbstractDateCalculator(String name,
HolidayCalendar<E> holidayCalendar,
HolidayHandler<E> holidayHandler) |
Modifier and Type | Class and Description |
---|---|
class |
CalendarBackwardHandler
A Jdk
Calendar implementation of the
HolidayHandler , for the
Backward algorithm. |
class |
CalendarForwardHandler
A Jdk
Calendar implementation of the
HolidayHandler , for the
Forward algorithm. |
class |
CalendarForwardUnlessNegativeHandler
A Jdk
Calendar implementation of the
HolidayHandler , for the
Forward algorithm. |
class |
CalendarModifiedFollowingHandler
A Jdk
Calendar implementation of the
HolidayHandler , for the
Modified Following algorithm. |
class |
CalendarModifiedPrecedingHandler
A Jdk
Calendar implementation of the
HolidayHandler , for the
Modified Preceeding algorithm. |
class |
DateBackwardHandler
A Jdk
Date implementation of the
HolidayHandler , for the
Backward algorithm. |
class |
DateForwardHandler
A Jdk
Date implementation of the
HolidayHandler , for the
Forward algorithm. |
class |
DateForwardUnlessNegativeHandler
A Jdk
Date implementation of the
HolidayHandler , for the
Forward algorithm. |
class |
DateModifiedFollowingHandler
A Jdk
Date implementation of the
HolidayHandler , for the
Modified Following algorithm. |
class |
DateModifiedPreceedingHandler
A Jdk
Date implementation of the
HolidayHandler , for the
Modified Preceeding algorithm. |
class |
HolidayHandlerDateWrapper
A Wrapper to handle any HolidayHandler<Calendar> types via a HolidayHandler<Date>
delegate
|
Modifier and Type | Method and Description |
---|---|
HolidayHandler<Date> |
DateKitCalculatorsFactory.getHolidayHandler(String holidayHandlerType) |
HolidayHandler<Calendar> |
CalendarKitCalculatorsFactory.getHolidayHandler(String holidayHandlerType) |
Modifier and Type | Method and Description |
---|---|
protected DateCalculator<Calendar> |
CalendarDateCalculator.createNewCalculator(String name,
Calendar startDate,
HolidayCalendar<Calendar> holidays,
HolidayHandler<Calendar> handler) |
protected DateCalculator<Date> |
DateDateCalculator.createNewCalculator(String name,
Date startDate,
HolidayCalendar<Date> holidays,
HolidayHandler<Date> handler) |
Constructor and Description |
---|
CalendarDateCalculator(String name,
Calendar startDate,
HolidayCalendar<Calendar> holidayCalendar,
HolidayHandler<Calendar> holidayHandler) |
DateDateCalculator(String name,
Date startDate,
HolidayCalendar<Date> holidayCalendar,
HolidayHandler<Date> holidayHandler) |
HolidayHandlerDateWrapper(HolidayHandler<Date> holidayHandler,
BaseCalculator<Date> dateCalculator) |
Modifier and Type | Method and Description |
---|---|
HolidayHandler<LocalDate> |
LocalDateKitCalculatorsFactory.getHolidayHandler(String holidayHandlerType) |
Modifier and Type | Method and Description |
---|---|
protected DateCalculator<LocalDate> |
LocalDateCalculator.createNewCalculator(String name,
LocalDate startDate,
HolidayCalendar<LocalDate> holidays,
HolidayHandler<LocalDate> handler) |
Constructor and Description |
---|
LocalDateCalculator(String name,
LocalDate startDate,
HolidayCalendar<LocalDate> holidayCalendar,
HolidayHandler<LocalDate> holidayHandler) |
Modifier and Type | Class and Description |
---|---|
class |
LocalDateBackwardHandler
A backward handler will move the date backward if it falls on a non working
day.
|
class |
LocalDateForwardHandler
A Forward handler will move the date forward if it falls on a non working
day.
|
class |
LocalDateForwardUnlessNegativeHandler
A Forward handler will move the date forward if it falls on a non working
day.
|
class |
LocalDateModifiedFollowingHandler
A modified following handler will move the date forward if it falls on a non
working day BUT, if the new date falls into another month, it will revert to
moving backward until it finds a working day.
|
class |
LocalDateModifiedPrecedingHandler
A modified preceding handler will move the date backward if it falls on a
non working day BUT, if the new date falls into another month, it will revert
to moving forward until it finds a working day.
|
Modifier and Type | Method and Description |
---|---|
HolidayHandler<org.joda.time.LocalDate> |
LocalDateKitCalculatorsFactory.getHolidayHandler(String holidayHandlerType) |
Modifier and Type | Method and Description |
---|---|
protected DateCalculator<org.joda.time.LocalDate> |
LocalDateCalculator.createNewCalculator(String name,
org.joda.time.LocalDate startDate,
HolidayCalendar<org.joda.time.LocalDate> holidays,
HolidayHandler<org.joda.time.LocalDate> handler) |
Constructor and Description |
---|
LocalDateCalculator(String name,
org.joda.time.LocalDate startDate,
HolidayCalendar<org.joda.time.LocalDate> holidayCalendar,
HolidayHandler<org.joda.time.LocalDate> holidayHandler) |
Copyright © 2006–2022 Appendium - Portfolio Financing Platform. All rights reserved.