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 | Interface and Description |
---|---|
interface |
DateCalculator<E>
A DateCalculator is a lightweight container with an optional reference to a
set of holidays, a WorkingWeek (Mon-Fri by default), a startDate and a
current business date.
|
Modifier and Type | Class and Description |
---|---|
class |
AbstractDateCalculator<E extends Serializable>
Abstract implementation in order to encapsulate all the common functionality
between Jdk and Joda implementations.
|
Modifier and Type | Method and Description |
---|---|
E |
HolidayHandler.moveCurrentDate(BaseCalculator<E> calculator)
If the current date of the give calculator is a non-working day, it will
be moved according to the algorithm implemented.
|
Modifier and Type | Class and Description |
---|---|
class |
CalendarDateCalculator
This class is used via the DateCalculator interface, it enables the handling
of different HolidayHandler, if no HolidayHandler is defined, the calendar
will NOT move a date, even if it falls on a holiday or weekend.
|
class |
DateDateCalculator
This class is used via the DateCalculator interface, it enables the handling
of different HolidayHandler, if no HolidayHandler is defined, the calendar
will NOT move a date, even if it falls on a holiday or weekend.
|
Modifier and Type | Method and Description |
---|---|
Calendar |
CalendarForwardHandler.moveCurrentDate(BaseCalculator<Calendar> calculator)
If the current date of the give calculator is a non-working day, it will
be moved according to the algorithm implemented.
|
Calendar |
CalendarModifiedFollowingHandler.moveCurrentDate(BaseCalculator<Calendar> calculator)
If the current date of the give calculator is a non-working day, it will
be moved according to the algorithm implemented.
|
Calendar |
CalendarBackwardHandler.moveCurrentDate(BaseCalculator<Calendar> calculator)
If the current date of the give calculator is a non-working day, it will
be moved according to the algorithm implemented.
|
Calendar |
HolidayHandlerDateWrapper.moveCurrentDate(BaseCalculator<Calendar> calc)
If the current date of the give calculator is a non-working day, it will
be moved according to the algorithm implemented.
|
Calendar |
CalendarForwardUnlessNegativeHandler.moveCurrentDate(BaseCalculator<Calendar> calculator)
If the current date of the give calculator is a non-working day, it will
be moved according to the algorithm implemented.
|
Calendar |
CalendarModifiedPrecedingHandler.moveCurrentDate(BaseCalculator<Calendar> calculator)
If the current date of the give calculator is a non-working day, it will
be moved according to the algorithm implemented.
|
Date |
DateForwardHandler.moveCurrentDate(BaseCalculator<Date> calculator)
If the current date of the give calculator is a non-working day, it will
be moved according to the algorithm implemented.
|
Date |
DateBackwardHandler.moveCurrentDate(BaseCalculator<Date> calculator)
If the current date of the give calculator is a non-working day, it will
be moved according to the algorithm implemented.
|
Date |
DateModifiedPreceedingHandler.moveCurrentDate(BaseCalculator<Date> calculator)
If the current date of the give calculator is a non-working day, it will
be moved according to the algorithm implemented.
|
Date |
DateForwardUnlessNegativeHandler.moveCurrentDate(BaseCalculator<Date> calculator)
If the current date of the give calculator is a non-working day, it will
be moved according to the algorithm implemented.
|
Date |
DateModifiedFollowingHandler.moveCurrentDate(BaseCalculator<Date> calculator)
If the current date of the give calculator is a non-working day, it will
be moved according to the algorithm implemented.
|
Constructor and Description |
---|
HolidayHandlerDateWrapper(HolidayHandler<Date> holidayHandler,
BaseCalculator<Date> dateCalculator) |
Modifier and Type | Method and Description |
---|---|
LocalDate |
LocalDateForwardUnlessNegativeHandler.moveCurrentDate(BaseCalculator<LocalDate> calculator)
If the current date of the give calculator is a non-working day, it will
be moved according to the algorithm implemented.
|
LocalDate |
LocalDateModifiedFollowingHandler.moveCurrentDate(BaseCalculator<LocalDate> calculator)
If the current date of the give calculator is a non-working day, it will
be moved according to the algorithm implemented.
|
LocalDate |
LocalDateBackwardHandler.moveCurrentDate(BaseCalculator<LocalDate> calculator)
If the current date of the give calculator is a non-working day, it will
be moved according to the algorithm implemented.
|
LocalDate |
LocalDateForwardHandler.moveCurrentDate(BaseCalculator<LocalDate> calculator)
If the current date of the give calculator is a non-working day, it will
be moved according to the algorithm implemented.
|
LocalDate |
LocalDateModifiedPrecedingHandler.moveCurrentDate(BaseCalculator<LocalDate> calculator)
If the current date of the give calculator is a non-working day, it will
be moved according to the algorithm implemented.
|
Modifier and Type | Class and Description |
---|---|
class |
LocalDateCalculator
This class is used via the DateCalculator interface, it enables the handling
of different HolidayHandler, if no HolidayHandler is defined, the calendar
will NOT move a date, even if it falls on a holiday or weekend.
|
Modifier and Type | Method and Description |
---|---|
org.joda.time.LocalDate |
LocalDateForwardUnlessNegativeHandler.moveCurrentDate(BaseCalculator<org.joda.time.LocalDate> calculator)
If the current date of the give calculator is a non-working day, it will
be moved according to the algorithm implemented.
|
org.joda.time.LocalDate |
LocalDateModifiedFollowingHandler.moveCurrentDate(BaseCalculator<org.joda.time.LocalDate> calculator)
If the current date of the give calculator is a non-working day, it will
be moved according to the algorithm implemented.
|
org.joda.time.LocalDate |
LocalDateBackwardHandler.moveCurrentDate(BaseCalculator<org.joda.time.LocalDate> calculator)
If the current date of the give calculator is a non-working day, it will
be moved according to the algorithm implemented.
|
org.joda.time.LocalDate |
LocalDateForwardHandler.moveCurrentDate(BaseCalculator<org.joda.time.LocalDate> calculator)
If the current date of the give calculator is a non-working day, it will
be moved according to the algorithm implemented.
|
org.joda.time.LocalDate |
LocalDateModifiedPrecedingHandler.moveCurrentDate(BaseCalculator<org.joda.time.LocalDate> calculator)
If the current date of the give calculator is a non-working day, it will
be moved according to the algorithm implemented.
|
Copyright © 2006–2022 Appendium - Portfolio Financing Platform. All rights reserved.