|
SAP CC 1.0
API 4.2 (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 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 offset.public 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()
|
SAP CC 1.0
API 4.2 (Core) |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
SAP Convergent Charging 1.0 (build R4.2.1.35.0.0)
CONVERGENT CHARGING 4.2
(c) Copyright 2009 SAP AG. All rights reserved.