|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjava.util.Observable
mvp.Model
caltool.schedule.RemindWhen
public class RemindWhen
RemindWhen defines how soon before a scheduled item the reminder is to be sent. The time units are minutes, hours, or days.
| Field Summary | |
|---|---|
protected int |
time
The amount of time in hours, days, or minutes |
protected ReminderTimeUnit |
unit
The unit of time |
| Fields inherited from class mvp.Model |
|---|
view |
| Constructor Summary | |
|---|---|
RemindWhen()
Construct an empty RemindWhen. |
|
RemindWhen(int time,
ReminderTimeUnit unit)
Construct a RemindWhen with the given time and unit. |
|
| Method Summary | |
|---|---|
int |
getTime()
Return the time. |
ReminderTimeUnit |
getTimeUnit()
Return the time unit. |
| Methods inherited from class mvp.Model |
|---|
dump, exit, getView, setView |
| Methods inherited from class java.util.Observable |
|---|
addObserver, clearChanged, countObservers, deleteObserver, deleteObservers, hasChanged, notifyObservers, notifyObservers, setChanged |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected int time
protected ReminderTimeUnit unit
| Constructor Detail |
|---|
public RemindWhen()
public RemindWhen(int time,
ReminderTimeUnit unit)
| Method Detail |
|---|
public int getTime()
public ReminderTimeUnit getTimeUnit()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||