public enum ConsecutiveDayEnum extends Enum<ConsecutiveDayEnum>
| Enum Constant and Description |
|---|
CONSECUTIVE |
INDIFFERENT |
NON_CONSECUTIVE |
| Modifier and Type | Method and Description |
|---|---|
static ConsecutiveDayEnum |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ConsecutiveDayEnum[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ConsecutiveDayEnum CONSECUTIVE
public static final ConsecutiveDayEnum NON_CONSECUTIVE
public static final ConsecutiveDayEnum INDIFFERENT
public static ConsecutiveDayEnum[] values()
for (ConsecutiveDayEnum c : ConsecutiveDayEnum.values()) System.out.println(c);
public static ConsecutiveDayEnum 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 © 2021. All rights reserved.