|
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.EasterRelativeDay
public static final class HolidayModel.EasterRelativeDay
This Java class enables to define day which is relative to Easter Sunday.
An Easter relative day is defined by an offset which is the number of days
after Easter Sunday, in case of positive offset, or the number of days
before EasterSenday, in case of negative offset.
For instance: Good Friday is defined by a -2 offset, Easter Monday
is defined by a 1 offset, and Easter Sunday is defined by a 0 offset.
| Constructor Summary | |
|---|---|
HolidayModel.EasterRelativeDay(int offset)
Builds a new EasterRelativeDay with the given offset. |
|
| Method Summary | |
|---|---|
void |
checkValidity()
Exists as implementation of HolidayModel.DayDefinition.checkValidity()
but does nothing, since no error may exist in an Easter relative day
configuration. |
int |
getOffset()
Gets the offset. |
int |
getType()
Returns the type of the implementing class. |
void |
setOffset(int offset)
Sets the offset. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public HolidayModel.EasterRelativeDay(int offset)
EasterRelativeDay with the given offset.
offset - The offset relative to Easter Sunday| Method Detail |
|---|
public int getOffset()
public void setOffset(int offset)
offset - The offsetpublic int getType()
HolidayModel.DayDefinition
getType in interface HolidayModel.DayDefinition
public void checkValidity()
throws InvalidHolidayException
HolidayModel.DayDefinition.checkValidity()
but does nothing, since no error may exist in an Easter relative day
configuration.
checkValidity in interface HolidayModel.DayDefinitionInvalidHolidayExceptionHolidayModel.FixedDay.checkValidity(),
HolidayModel.RelativeDay.checkValidity(),
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 | ||||||||