net.objectlab.kit.datecalc.joda
Class HolidayHandlerYearMonthDayWrapper

Package class diagram package HolidayHandlerYearMonthDayWrapper
java.lang.Object
  extended by net.objectlab.kit.datecalc.joda.HolidayHandlerYearMonthDayWrapper
All Implemented Interfaces:
HolidayHandler<LocalDate>

public class HolidayHandlerYearMonthDayWrapper
extends Object
implements HolidayHandler<LocalDate>

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:
Benoit Xhenseval, $LastChangedBy: benoitx $

Constructor Summary
HolidayHandlerYearMonthDayWrapper(HolidayHandler<YearMonthDay> delegate, DateCalculator<YearMonthDay> calculator)
          If the current date of the give calculator is a non-working day, it will be moved according to the algorithm implemented.
 
Method Summary
 String getType()
           
 LocalDate moveCurrentDate(DateCalculator<LocalDate> calc)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HolidayHandlerYearMonthDayWrapper

public HolidayHandlerYearMonthDayWrapper(HolidayHandler<YearMonthDay> delegate,
                                         DateCalculator<YearMonthDay> 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
Method Detail

getType

public String getType()
Specified by:
getType in interface HolidayHandler<LocalDate>

moveCurrentDate

public LocalDate moveCurrentDate(DateCalculator<LocalDate> calc)
Specified by:
moveCurrentDate in interface HolidayHandler<LocalDate>


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