public static enum TaskList.DateRange extends java.lang.Enum<TaskList.DateRange>
Enum Constant and Description |
---|
ACTIVATION
Returns a task if its activation time falls into the specified time frame.
|
END
Returns a task if its end time falls into the specified time frame.
|
NONE
No date selection.
|
RUNNING
Returns a task if it is/was running within the specified time frame.
|
START
Returns a task if its start time falls into the specified time frame.
|
Modifier and Type | Method and Description |
---|---|
static TaskList.DateRange |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static TaskList.DateRange[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TaskList.DateRange NONE
public static final TaskList.DateRange ACTIVATION
public static final TaskList.DateRange START
public static final TaskList.DateRange END
public static final TaskList.DateRange RUNNING
public static TaskList.DateRange[] values()
for (TaskList.DateRange c : TaskList.DateRange.values()) System.out.println(c);
public static TaskList.DateRange 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 namejava.lang.NullPointerException
- if the argument is null