|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.lightdev.lib.holiday.client.YearEvent
public class YearEvent
Class to transport arbitrary event objects from the Light Development World Holiday Calendar Service
| Constructor Summary | |
|---|---|
YearEvent(Integer id,
String name,
GregorianCalendar[] dates)
create a new instance of a YearEvent object |
|
| Method Summary | |
|---|---|
int |
compareTo(Object o)
compare this object to another object |
GregorianCalendar[] |
getDates()
get the dates this event occurs on |
Object |
getId()
get the id of this event under which it is uniquely identified at the Light Development World Holiday Calendar Service |
String |
toString()
get the name of this event |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public YearEvent(Integer id,
String name,
GregorianCalendar[] dates)
id - event idname - event namedates - dates on which this event occurs| Method Detail |
|---|
public GregorianCalendar[] getDates()
public String toString()
toString in class Objectpublic Object getId()
public int compareTo(Object o)
compareTo in interface Comparableo - the object to compare this object to
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||