|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||

java.lang.Objectnet.objectlab.kit.datecalc.common.HolidayHandlerType
public final class HolidayHandlerType
Define a series of standard way to handle holidays.
| 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 |
|---|
public static final String FORWARD
public static final String BACKWARD
public static final String MODIFIED_FOLLOWING
public static final String MODIFIED_PRECEDING
public static final String FORWARD_UNLESS_MOVING_BACK
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||