public class DateModifiedFollowingHandler extends Object implements HolidayHandler<Date>
Date implementation of the
HolidayHandler, for the
Modified Following algorithm.| Constructor and Description |
|---|
DateModifiedFollowingHandler() |
| Modifier and Type | Method and Description |
|---|---|
Date |
adjustDate(Date startDate,
int increment,
NonWorkingDayChecker<Date> checker)
For a given date, adjust it if required but using the logic across Month/etc for calc
|
String |
getType()
Give the type name for this algorithm.
|
Date |
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.
|
public Date moveCurrentDate(BaseCalculator<Date> calculator)
moveCurrentDate in interface HolidayHandler<Date>calculator - the calculatorpublic Date adjustDate(Date startDate, int increment, NonWorkingDayChecker<Date> checker)
HolidayHandleradjustDate in interface HolidayHandler<Date>public String getType()
getType in interface HolidayHandler<Date>Copyright © 2006–2022 Appendium - Portfolio Financing Platform. All rights reserved.