net.objectlab.kit.datecalc.jdk
Class DateModifiedPreceedingHandler
java.lang.Object
net.objectlab.kit.datecalc.jdk.DateModifiedFollowingHandler
net.objectlab.kit.datecalc.jdk.DateModifiedPreceedingHandler
- All Implemented Interfaces:
- HolidayHandler<Date>
public class DateModifiedPreceedingHandler
- extends DateModifiedFollowingHandler
A Jdk Date implementation of the
HolidayHandler, for the
Modified Preceeding algorithm.
- Version:
- $Revision: 263 $ $Date: 2008-05-05 12:37:50 -0400 (Mon, 05 May 2008) $
- Author:
- Marcin Jekot, $LastChangedBy: benoitx $
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DateModifiedPreceedingHandler
public DateModifiedPreceedingHandler()
moveCurrentDate
public Date moveCurrentDate(DateCalculator<Date> calculator)
- 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<Date>- Overrides:
moveCurrentDate in class DateModifiedFollowingHandler
- Parameters:
calculator - 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<Date>- Overrides:
getType in class DateModifiedFollowingHandler
- Returns:
- algorithm name.
Copyright © 2006-2010 Appendium - Portfolio Financing Platform. All Rights Reserved.