public class Static extends Base
Constructor and Description |
---|
Static(JulianDate dt,
java.lang.String strDescription)
Construct a static holiday from the date and the description
|
Modifier and Type | Method and Description |
---|---|
static Static |
CreateFromDateDescription(java.lang.String strDate,
java.lang.String strDescription)
Create a static holiday from the date string and the description
|
int |
dateInYear(int iYear,
boolean bAdjusted)
Generate the full date specific to the input year
|
description, rollHoliday
public Static(JulianDate dt, java.lang.String strDescription) throws java.lang.Exception
dt
- DatestrDescription
- Descriptionjava.lang.Exception
- Thrown if the Inputs are invalidpublic static final Static CreateFromDateDescription(java.lang.String strDate, java.lang.String strDescription)
strDate
- Date stringstrDescription
- Descriptionpublic int dateInYear(int iYear, boolean bAdjusted)
Base
dateInYear
in class Base
iYear
- Input YearbAdjusted
- Whether adjustment is desired