public class DateAdjustParams
extends java.lang.Object
| Constructor and Description |
|---|
DateAdjustParams(int iRollMode,
int iNumDaysToRoll,
java.lang.String strCalendar)
Create a DateAdjustParams instance from the roll mode and the calendar
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
calendar()
Retrieve the Roll Holiday Calendar
|
int |
roll(int iDate)
Roll the given Date
|
int |
rollMode()
Retrieve the Roll Mode
|
public DateAdjustParams(int iRollMode,
int iNumDaysToRoll,
java.lang.String strCalendar)
iRollMode - Roll ModeiNumDaysToRoll - Number of Days to RollstrCalendar - Calendarpublic int rollMode()
public java.lang.String calendar()
public int roll(int iDate)
throws java.lang.Exception
iDate - datejava.lang.Exception - Thrown if the input day is invalid