net.objectlab.kit.datecalc.common
Interface HolidayHandler<E>

Package class diagram package HolidayHandler
Type Parameters:
E - a representation of a date, typically JDK: Date, Calendar; Joda:LocalDate, YearMonthDay

public interface HolidayHandler<E>

This will be called to determine whether the date should be moved according to the special algorithm used.

Version:
$Revision: 200 $ $Date: 2006-10-10 16:15:58 -0400 (Tue, 10 Oct 2006) $
Author:
Benoit Xhenseval, $LastChangedBy: benoitx $

Method Summary
 String getType()
          Give the type name for this algorithm.
 E moveCurrentDate(DateCalculator<E> calculator)
          If the current date of the give calculator is a non-working day, it will be moved according to the algorithm implemented.
 

Method Detail

moveCurrentDate

E moveCurrentDate(DateCalculator<E> calculator)
If the current date of the give calculator is a non-working day, it will be moved according to the algorithm implemented.

Parameters:
calculator - the calculator
Returns:
the date which may have moved.

getType

String getType()
Give the type name for this algorithm.

Returns:
algorithm name.


Copyright © 2006-2010 Appendium - Portfolio Financing Platform. All Rights Reserved.