net.objectlab.kit.datecalc.jdk
Class HolidayHandlerDateWrapper
java.lang.Object
net.objectlab.kit.datecalc.jdk.HolidayHandlerDateWrapper
- All Implemented Interfaces:
- HolidayHandler<Calendar>
public class HolidayHandlerDateWrapper
- extends Object
- implements HolidayHandler<Calendar>
A Wrapper to handle any HolidayHandler types via a HolidayHandler
delegate
- Version:
- $Revision: 203 $ $Date: 2006-10-11 08:53:07 -0400 (Wed, 11 Oct 2006) $
- Author:
- Marcin Jekot, $LastChangedBy: benoitx $
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
HolidayHandlerDateWrapper
public HolidayHandlerDateWrapper(HolidayHandler<Date> holidayHandler,
DateCalculator<Date> dateCalculator)
moveCurrentDate
public Calendar moveCurrentDate(DateCalculator<Calendar> calc)
- If the current date of the give calculator is a non-working day, it will
be moved according to the algorithm implemented.
- Specified by:
moveCurrentDate in interface HolidayHandler<Calendar>
- Parameters:
calc - the calculator
- Returns:
- the date which may have moved.
getType
public String getType()
- Give the type name for this algorithm.
- Specified by:
getType in interface HolidayHandler<Calendar>
- Returns:
- algorithm name.
Copyright © 2006-2010 Appendium - Portfolio Financing Platform. All Rights Reserved.