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