public class EventOccurrence extends Object implements Comparable<EventOccurrence>
Constructor and Description |
---|
EventOccurrence() |
Modifier and Type | Method and Description |
---|---|
int |
compareTo(EventOccurrence pOtherOccurrence)
Compare time of two events.
|
String |
getEventId() |
Date |
getTime() |
void |
setEventId(String pEventId) |
void |
setTime(Date pTime) |
String |
toString()
Convert a EventOccurrence object to a String in a formatted way.
|
public String getEventId()
public void setEventId(String pEventId)
public Date getTime()
public void setTime(Date pTime)
public int compareTo(EventOccurrence pOtherOccurrence)
compareTo
in interface Comparable<EventOccurrence>
pOtherOccurrence
- the event to compare with.0
if the event date is equal to
this given event date; a value less than 0
if this event date
is before the event argument date; and a value greater than
0
if this event date is after the event argument date.© 1998- 2018 Escenic AS