|
SAP Convergent Charging
Java and XML APIs (Core) |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.highdeal.calendar.hci.HolidayModel.FixedDay
public static final class HolidayModel.FixedDay
This Java class enables to define a fixed day, that is to say a day given
by a fixed date, same date each year (such as New Year Day, for instance).
| Constructor Summary | |
|---|---|
HolidayModel.FixedDay(java.lang.String month,
int day)
Builds a new FixedDay |
|
| Method Summary | |
|---|---|
void |
checkValidity()
Throws an InvalidHolidayException if:
month is not one of month defined in MONTHS. |
int |
getDay()
Gets the day. |
java.lang.String |
getMonth()
Gets the month. |
int |
getType()
Returns the type of the implementing class. |
void |
setDay(int day)
Sets the day. |
void |
setMonth(java.lang.String month)
Sets the month. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public HolidayModel.FixedDay(java.lang.String month,
int day)
FixedDay
month - The month name, see MONTHSday - The day in month| Method Detail |
|---|
public int getDay()
public void setDay(int day)
day - The daypublic java.lang.String getMonth()
public void setMonth(java.lang.String month)
MONTHS.
month - The monthpublic int getType()
HolidayModel.DayDefinition
getType in interface HolidayModel.DayDefinition
public void checkValidity()
throws InvalidHolidayException
InvalidHolidayException if:
MONTHS.
checkValidity in interface HolidayModel.DayDefinitionInvalidHolidayExceptioncheckValidity(),
HolidayModel.RelativeDay.checkValidity(),
HolidayModel.EasterRelativeDay.checkValidity(),
HolidayModel.EnumeratedDay.checkValidity()
|
Document Published: October 2015 (SAP CC 4.0 SP10 and Later) | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||