|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface CalendarItem
Interface of all kind of entries in the calendar
Field Summary | |
---|---|
static long |
FIVE_MINUTES
Constant for a five minute interval |
static long |
ONE_DAY
Constant for the mills of one day |
static long |
ONE_HOUR
Constant for a half hour, thirty minutes |
static long |
ONE_MINUTE
Constant for one minute |
static long |
QUARTER_HOUR
Constant for a quarter hour, fifteen minutes |
static long |
TEN_MINUTES
Constant for ten minutes |
static long |
TWO_HOURS
Constant for two hours |
Method Summary | |
---|---|
java.lang.Long |
getDuration()
Returns the duration of the calendar item |
java.lang.String |
getName()
Returns the name of the item |
Data |
getSource()
Returns the data element where this item is from |
java.util.Date |
getStart()
Returns the start date of the calendar item |
void |
setDuration(java.lang.Long duration)
Sets the duration of the item |
void |
setName(java.lang.String name)
Sets the name of the item |
void |
setStart(java.util.Date start)
Sets the start date |
Field Detail |
---|
static final long ONE_MINUTE
static final long FIVE_MINUTES
static final long TEN_MINUTES
static final long QUARTER_HOUR
static final long ONE_HOUR
static final long TWO_HOURS
static final long ONE_DAY
Method Detail |
---|
Data getSource()
java.lang.String getName()
void setName(java.lang.String name)
name
- java.util.Date getStart()
void setStart(java.util.Date start)
start
- java.lang.Long getDuration()
void setDuration(java.lang.Long duration)
duration
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |