Constructor and Description |
---|
Base(java.lang.String strDescription)
Constructs the Base instance from the description
|
Modifier and Type | Method and Description |
---|---|
abstract int |
dateInYear(int iYear,
boolean bAdjusted)
Generate the full date specific to the input year
|
java.lang.String |
description()
Return the description
|
static int |
rollHoliday(int iDate,
boolean bBalkOnYearShift,
Weekend wkend)
Roll the date to a non-holiday according to the rule specified
|
public Base(java.lang.String strDescription)
strDescription
- Holiday Descriptionpublic static final int rollHoliday(int iDate, boolean bBalkOnYearShift, Weekend wkend) throws java.lang.Exception
iDate
- Date to be rolledbBalkOnYearShift
- Throw an exception if the year change happenswkend
- Object representing the weekend daysjava.lang.Exception
- Thrown if the holiday cannot be rolledpublic java.lang.String description()
public abstract int dateInYear(int iYear, boolean bAdjusted)
iYear
- Input YearbAdjusted
- Whether adjustment is desired