net.objectlab.kit.datecalc.common
Class HolidayHandlerType

Package class diagram package HolidayHandlerType
java.lang.Object
  extended by net.objectlab.kit.datecalc.common.HolidayHandlerType

public final class HolidayHandlerType
extends Object

Define a series of standard way to handle holidays.

Version:
$Revision: 271 $ $Date: 2009-03-17 13:50:59 -0400 (Tue, 17 Mar 2009) $
Author:
Benoit Xhenseval, $LastChangedBy: marchy $

Field Summary
static String BACKWARD
          A backward handler will move the date backward if it falls on a non working day.
static String FORWARD
          A Forward handler will move the date forward if it falls on a non working day.
static String FORWARD_UNLESS_MOVING_BACK
          A handler that moves the date forward unless the increment is negative (eg moveByDays(-2)) in which case it behaves like a Backward handler.
static String MODIFIED_FOLLOWING
          A modified following handler will move the date forward if it falls on a non working day BUT, if the new date falls into another month, it will revert to moving backward until it finds a working day.
static String MODIFIED_PRECEDING
          A modified preceding handler will move the date backward if it falls on a non working day BUT, if the new date falls into another month, it will revert to moving forward until it finds a working day.
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

FORWARD

public static final String FORWARD
A Forward handler will move the date forward if it falls on a non working day.

See Also:
Constant Field Values

BACKWARD

public static final String BACKWARD
A backward handler will move the date backward if it falls on a non working day.

See Also:
Constant Field Values

MODIFIED_FOLLOWING

public static final String MODIFIED_FOLLOWING
A modified following handler will move the date forward if it falls on a non working day BUT, if the new date falls into another month, it will revert to moving backward until it finds a working day.

See Also:
Constant Field Values

MODIFIED_PRECEDING

public static final String MODIFIED_PRECEDING
A modified preceding handler will move the date backward if it falls on a non working day BUT, if the new date falls into another month, it will revert to moving forward until it finds a working day.

See Also:
Constant Field Values

FORWARD_UNLESS_MOVING_BACK

public static final String FORWARD_UNLESS_MOVING_BACK
A handler that moves the date forward unless the increment is negative (eg moveByDays(-2)) in which case it behaves like a Backward handler.

See Also:
Constant Field Values


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