public class HolidayHandlerYearMonthDayWrapper extends Object implements HolidayHandler<org.joda.time.LocalDate>
| Constructor and Description |
|---|
HolidayHandlerYearMonthDayWrapper(HolidayHandler<org.joda.time.YearMonthDay> delegate,
DateCalculator<org.joda.time.YearMonthDay> 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 | Method and Description |
|---|---|
String |
getType()
Give the type name for this algorithm.
|
org.joda.time.LocalDate |
moveCurrentDate(DateCalculator<org.joda.time.LocalDate> calc)
If the current date of the give calculator is a non-working day, it will
be moved according to the algorithm implemented.
|
public HolidayHandlerYearMonthDayWrapper(HolidayHandler<org.joda.time.YearMonthDay> delegate, DateCalculator<org.joda.time.YearMonthDay> calculator)
calculator - the calculatorpublic String getType()
HolidayHandlergetType in interface HolidayHandler<org.joda.time.LocalDate>public org.joda.time.LocalDate moveCurrentDate(DateCalculator<org.joda.time.LocalDate> calc)
HolidayHandlermoveCurrentDate in interface HolidayHandler<org.joda.time.LocalDate>calc - the calculatorCopyright © 2006–2014 Appendium - Portfolio Financing Platform. All rights reserved.