public class LocalDateModifiedFollowingHandler extends Object implements HolidayHandler<LocalDate>
Constructor and Description |
---|
LocalDateModifiedFollowingHandler() |
Modifier and Type | Method and Description |
---|---|
LocalDate |
adjustDate(LocalDate startDate,
int increment,
NonWorkingDayChecker<LocalDate> 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.
|
LocalDate |
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.
|
public LocalDate moveCurrentDate(BaseCalculator<LocalDate> calculator)
moveCurrentDate
in interface HolidayHandler<LocalDate>
calculator
- the calculatorpublic LocalDate adjustDate(LocalDate startDate, int increment, NonWorkingDayChecker<LocalDate> checker)
HolidayHandler
adjustDate
in interface HolidayHandler<LocalDate>
public String getType()
getType
in interface HolidayHandler<LocalDate>
Copyright © 2006–2022 Appendium - Portfolio Financing Platform. All rights reserved.