public enum TaskTimestamp extends Enum<TaskTimestamp>
Task.| Enum Constant and Description |
|---|
CLAIMED |
COMPLETED |
CREATED |
DUE |
MODIFIED |
PLANNED |
| Modifier and Type | Method and Description |
|---|---|
static TaskTimestamp |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TaskTimestamp[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TaskTimestamp CREATED
public static final TaskTimestamp CLAIMED
public static final TaskTimestamp COMPLETED
public static final TaskTimestamp MODIFIED
public static final TaskTimestamp PLANNED
public static final TaskTimestamp DUE
public static TaskTimestamp[] values()
for (TaskTimestamp c : TaskTimestamp.values()) System.out.println(c);
public static TaskTimestamp 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 nullCopyright © 2020. All rights reserved.