public class RemindWhen
extends mvp.Model
| Modifier and Type | Field and Description |
|---|---|
protected int |
time
The amount of time in hours, days, or minutes
|
protected ReminderTimeUnit |
unit
The unit of time
|
| Constructor and Description |
|---|
RemindWhen()
Construct an empty RemindWhen.
|
RemindWhen(int time,
ReminderTimeUnit unit)
Construct a RemindWhen with the given time and unit.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getTime()
Return the time.
|
ReminderTimeUnit |
getTimeUnit()
Return the time unit.
|
protected int time
protected ReminderTimeUnit unit
public RemindWhen()
public RemindWhen(int time,
ReminderTimeUnit unit)
public int getTime()
public ReminderTimeUnit getTimeUnit()