|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<ReminderTimeUnit>
caltool.schedule.ReminderTimeUnit
public enum ReminderTimeUnit
Reminders can come minutes, hours, or days before the start time of a scheduled item.
Enum Constant Summary | |
---|---|
DaysBefore
Indicates that a reminder occurs a specified number of days before a scheduled item. |
|
HoursBefore
Indicates that a reminder occurs a specified number of hours before a scheduled item. |
|
MinutesBefore
Indicates that a reminder occurs a specified number of minutes before a scheduled item. |
Method Summary | |
---|---|
static ReminderTimeUnit |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static ReminderTimeUnit[] |
values()
Returns an array containing the constants of this enum type, in the order they're declared. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final ReminderTimeUnit MinutesBefore
public static final ReminderTimeUnit HoursBefore
public static final ReminderTimeUnit DaysBefore
Method Detail |
---|
public static final ReminderTimeUnit[] values()
for(ReminderTimeUnit c : ReminderTimeUnit.values()) System.out.println(c);
public static ReminderTimeUnit valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.
java.lang.IllegalArgumentException
- if this enum type has no constant
with the specified name
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |