|
|||||||||
PREV NEXT | FRAMES NO FRAMES |
Uses of DateCalculator in net.objectlab.kit.datecalc.common |
---|
Classes in net.objectlab.kit.datecalc.common that implement DateCalculator | |
---|---|
class |
AbstractDateCalculator<E>
Abstract implementation in order to encapsulate all the common functionality between Jdk and Joda implementations. |
Methods in net.objectlab.kit.datecalc.common that return DateCalculator | |
---|---|
DateCalculator<E> |
DateCalculator.combine(DateCalculator<E> calculator)
Allows DateCalculators to be combined into a new one, the startDate and currentBusinessDate will be the ones from the existing calendar (not the parameter one). |
DateCalculator<E> |
AbstractDateCalculator.combine(DateCalculator<E> calculator)
Allows DateCalculators to be combined into a new one, the startDate and currentBusinessDate will be the ones from the existing calendar (not the parameter one). |
protected abstract DateCalculator<E> |
AbstractDateCalculator.createNewCalculator(java.lang.String calcName,
E theStartDate,
HolidayCalendar<E> holidays,
HolidayHandler<E> handler)
|
DateCalculator<E> |
KitCalculatorsFactory.getDateCalculator(java.lang.String name,
java.lang.String holidayHandlerType)
Create a new DateCalculator for a given name and type of handling. |
DateCalculator<E> |
DateCalculator.moveByBusinessDays(int businessDays)
This changes the current business date held in the calculator, it moves the current date by a number of business days, this means that if a date is either a 'weekend' or holiday along the way, it will be skipped acording to the holiday handler and not count towards the number of days to move. |
DateCalculator<E> |
AbstractDateCalculator.moveByBusinessDays(int businessDays)
|
DateCalculator<E> |
DateCalculator.moveByDays(int days)
This changes the current business date held in the calculator, it moves the new current business date by the number of days and, if it falls on a weekend or holiday, moves it further according to the HolidayHandler given in this DateCalculator. |
protected abstract DateCalculator<E> |
AbstractDateCalculator.moveByMonths(int months)
|
DateCalculator<E> |
DateCalculator.moveByTenor(Tenor tenor)
Move the current date by a given tenor, please note that all tenors are relative to the CURRENT day (and NOT from spot). |
DateCalculator<E> |
AbstractDateCalculator.moveByTenor(Tenor tenor)
Move the current date by a given tenor, please note that all tenors are relative to the CURRENT day (and NOT from spot). |
DateCalculator<E> |
DateCalculator.moveByTenor(Tenor tenor,
int spotLag)
Move the current date by a given tenor, please note that all tenors are relative to the SPOT day which is a number of days from the current date. |
DateCalculator<E> |
AbstractDateCalculator.moveByTenor(Tenor tenor,
int spotLag)
move the current date by a given tenor, this means that if a date is either a 'weekend' or holiday, it will be skipped acording to the holiday handler and not count towards the number of days to move. |
Methods in net.objectlab.kit.datecalc.common with parameters of type DateCalculator | |
---|---|
DateCalculator<E> |
DateCalculator.combine(DateCalculator<E> calculator)
Allows DateCalculators to be combined into a new one, the startDate and currentBusinessDate will be the ones from the existing calendar (not the parameter one). |
DateCalculator<E> |
AbstractDateCalculator.combine(DateCalculator<E> calculator)
Allows DateCalculators to be combined into a new one, the startDate and currentBusinessDate will be the ones from the existing calendar (not the parameter one). |
E |
HolidayHandler.moveCurrentDate(DateCalculator<E> calculator)
If the current date of the give calculator is a non-working day, it will be moved according to the algorithm implemented. |
protected void |
AbstractKitCalculatorsFactory.setHolidays(java.lang.String name,
DateCalculator<E> dc)
Used by extensions to set holidays in a DateCalculator. |
|
|||||||||
PREV NEXT | FRAMES NO FRAMES |