public class WeekViewEvent
extends java.lang.Object
| Constructor and Description |
|---|
WeekViewEvent() |
WeekViewEvent(long id,
java.lang.String name,
java.util.Calendar startTime,
java.util.Calendar endTime)
Initializes the event for week view.
|
WeekViewEvent(long id,
java.lang.String name,
int startYear,
int startMonth,
int startDay,
int startHour,
int startMinute,
int endYear,
int endMonth,
int endDay,
int endHour,
int endMinute)
Initializes the event for week view.
|
WeekViewEvent(long id,
java.lang.String name,
java.lang.String location,
java.util.Calendar startTime,
java.util.Calendar endTime)
Initializes the event for week view.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object o) |
int |
getColor() |
java.util.Calendar |
getEndTime() |
long |
getId() |
java.lang.String |
getLocation() |
java.lang.String |
getName() |
java.util.Calendar |
getStartTime() |
int |
hashCode() |
void |
setColor(int color) |
void |
setEndTime(java.util.Calendar endTime) |
void |
setId(long id) |
void |
setLocation(java.lang.String location) |
void |
setName(java.lang.String name) |
void |
setStartTime(java.util.Calendar startTime) |
public WeekViewEvent()
public WeekViewEvent(long id,
java.lang.String name,
int startYear,
int startMonth,
int startDay,
int startHour,
int startMinute,
int endYear,
int endMonth,
int endDay,
int endHour,
int endMinute)
id - The id of the event.name - Name of the event.startYear - Year when the event starts.startMonth - Month when the event starts.startDay - Day when the event starts.startHour - Hour (in 24-hour format) when the event starts.startMinute - Minute when the event starts.endYear - Year when the event ends.endMonth - Month when the event ends.endDay - Day when the event ends.endHour - Hour (in 24-hour format) when the event ends.endMinute - Minute when the event ends.public WeekViewEvent(long id,
java.lang.String name,
java.lang.String location,
java.util.Calendar startTime,
java.util.Calendar endTime)
id - The id of the event.name - Name of the event.location - The location of the event.startTime - The time when the event starts.endTime - The time when the event ends.public WeekViewEvent(long id,
java.lang.String name,
java.util.Calendar startTime,
java.util.Calendar endTime)
id - The id of the event.name - Name of the event.startTime - The time when the event starts.endTime - The time when the event ends.public java.util.Calendar getStartTime()
public void setStartTime(java.util.Calendar startTime)
public java.util.Calendar getEndTime()
public void setEndTime(java.util.Calendar endTime)
public java.lang.String getName()
public void setName(java.lang.String name)
public java.lang.String getLocation()
public void setLocation(java.lang.String location)
public int getColor()
public void setColor(int color)
public long getId()
public void setId(long id)
public boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Object