public static enum BlockoutManagerUtil.TIME extends Enum<BlockoutManagerUtil.TIME>
Enum Constant and Description |
---|
DAY |
HOUR |
MILLISECOND |
MINUTE |
SECOND |
WEEK |
YEAR |
Modifier and Type | Field and Description |
---|---|
long |
time |
Modifier and Type | Method and Description |
---|---|
static BlockoutManagerUtil.TIME |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static BlockoutManagerUtil.TIME[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final BlockoutManagerUtil.TIME MILLISECOND
public static final BlockoutManagerUtil.TIME SECOND
public static final BlockoutManagerUtil.TIME MINUTE
public static final BlockoutManagerUtil.TIME HOUR
public static final BlockoutManagerUtil.TIME DAY
public static final BlockoutManagerUtil.TIME WEEK
public static final BlockoutManagerUtil.TIME YEAR
public static BlockoutManagerUtil.TIME[] values()
for (BlockoutManagerUtil.TIME c : BlockoutManagerUtil.TIME.values()) System.out.println(c);
public static BlockoutManagerUtil.TIME 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