public class Fixed extends Base
NULL_SER_STRING, VERSION
Constructor and Description |
---|
Fixed(byte[] ab)
De-serialization of FixedHoliday from byte stream
|
Fixed(int iDay,
int iMonth,
Weekend wkend,
java.lang.String strDescription)
Construct the object from the day, month, weekend, and description
|
Modifier and Type | Method and Description |
---|---|
Serializer |
deserialize(byte[] ab)
De-serialize from a byte array.
|
double |
getDateInYear(int iYear,
boolean bAdjust)
Generate the full date specific to the input year
|
java.lang.String |
getFieldDelimiter()
Returns the Field Delimiter String
|
java.lang.String |
getObjectTrailer()
Returns the Object Trailer String
|
static void |
main(java.lang.String[] astrArgs) |
byte[] |
serialize()
Serialize into a byte array.
|
getDescription, rollHoliday
getCollectionKeyValueDelimiter, getCollectionMultiLevelKeyDelimiter, getCollectionRecordDelimiter
public Fixed(int iDay, int iMonth, Weekend wkend, java.lang.String strDescription)
iDay
- DayiMonth
- Monthwkend
- Weekend ObjectstrDescription
- Descriptionpublic Fixed(byte[] ab) throws java.lang.Exception
ab
- Byte streamjava.lang.Exception
- Thrown if cannot properly de-serialize FixedHolidaypublic double getDateInYear(int iYear, boolean bAdjust)
Base
getDateInYear
in class Base
iYear
- Input YearbAdjust
- Whether adjustment is desiredpublic java.lang.String getFieldDelimiter()
Serializer
getFieldDelimiter
in class Serializer
public java.lang.String getObjectTrailer()
Serializer
getObjectTrailer
in class Serializer
public byte[] serialize()
Serializer
public Serializer deserialize(byte[] ab)
Serializer
deserialize
in class Serializer
public static final void main(java.lang.String[] astrArgs) throws java.lang.Exception
java.lang.Exception