Class CalendarObject
java.lang.Object
org.lukashian.CalendarObject
- All Implemented Interfaces:
Serializable
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidcheckSameKeyAs(CalendarObject other) Checks whether thisCalendarObjecthas the same calendar key as the givenCalendarObject.intGets the calendar key of thisCalendarObject.
-
Field Details
-
calendarKey
protected final int calendarKey
-
-
Constructor Details
-
CalendarObject
protected CalendarObject(int calendarKey)
-
-
Method Details
-
getCalendarKey
public int getCalendarKey()Gets the calendar key of thisCalendarObject. -
checkSameKeyAs
Checks whether thisCalendarObjecthas the same calendar key as the givenCalendarObject.- Throws:
LukashianException- when this CalendarObject has a different calendar key than the given CalendarObject
-