public static enum CalendarActivity.TimeType extends Enum<CalendarActivity.TimeType>
Enum Constant and Description |
---|
ALLDAY
An activity that lasts the full day or days and does not have a start or end time.
|
DURATION
An activity that has a duration and (start) date but no time information.
|
TIME
An activity that has a start and end time.
|
UNKNOWN
Not known for the activity
|
Modifier and Type | Method and Description |
---|---|
static CalendarActivity.TimeType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CalendarActivity.TimeType[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared.
|
public static final CalendarActivity.TimeType UNKNOWN
public static final CalendarActivity.TimeType ALLDAY
public static final CalendarActivity.TimeType DURATION
public static final CalendarActivity.TimeType TIME
public static CalendarActivity.TimeType[] values()
for (CalendarActivity.TimeType c : CalendarActivity.TimeType.values()) System.out.println(c);
public static CalendarActivity.TimeType valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null