public class Event extends ScheduledItem
| Modifier and Type | Field and Description |
|---|---|
protected ItemKey |
itemKey
The uniqe key for storing this in the UserCalendar items list
|
protected SimpleSecurity |
security
Whether the event is public or private.
|
category, endDate, startOrDueDate, title| Constructor and Description |
|---|
Event()
Construct an empty event.
|
Event(java.lang.String title,
Date startOrDueDate,
Date endDate,
Category category,
SimpleSecurity security)
Construct an event with the given field values.
|
| Modifier and Type | Method and Description |
|---|---|
Date |
getEndDate()
Return the end date.
|
ItemKey |
getKey()
Return the unique key for this, consisting of date and title.
|
Date |
getStartDate()
Return the start date.
|
java.lang.String |
toString()
Convert this to a string.
|
getCategory, getDate, getTitleprotected SimpleSecurity security
protected ItemKey itemKey
public Event()
public Event(java.lang.String title,
Date startOrDueDate,
Date endDate,
Category category,
SimpleSecurity security)
public Date getStartDate()
public Date getEndDate()
getEndDate in class ScheduledItempublic ItemKey getKey()
getKey in class ScheduledItempublic java.lang.String toString()
toString in class java.lang.Object