|
||||||||
| 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 java.lang.String |
BACKWARD
A backward handler will move the date backward if it falls on a non working day. |
static java.lang.String |
FORWARD
A Forward handler will move the date forward if it falls on a non working day. |
static java.lang.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 java.lang.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 java.lang.String |
MODIFIED_PRECEEDING
A modified preceeding 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 java.lang.String FORWARD
public static final java.lang.String BACKWARD
public static final java.lang.String MODIFIED_FOLLOWING
public static final java.lang.String MODIFIED_PRECEEDING
public static final java.lang.String FORWARD_UNLESS_MOVING_BACK
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||