public static enum TemporalUtil.OptionType extends Enum<TemporalUtil.OptionType>
Enum.EnumDesc<E extends Enum<E>>| Enum Constant and Description |
|---|
BOOLEAN |
NUMBER |
NUMBER_AND_STRING |
STRING |
| Modifier and Type | Method and Description |
|---|---|
boolean |
allowsBoolean() |
boolean |
allowsNumber() |
boolean |
allowsString() |
TemporalUtil.OptionType |
getLast() |
static TemporalUtil.OptionType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TemporalUtil.OptionType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TemporalUtil.OptionType STRING
public static final TemporalUtil.OptionType NUMBER
public static final TemporalUtil.OptionType BOOLEAN
public static final TemporalUtil.OptionType NUMBER_AND_STRING
public static TemporalUtil.OptionType[] values()
public static TemporalUtil.OptionType 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 nullpublic boolean allowsNumber()
public boolean allowsString()
public boolean allowsBoolean()
public TemporalUtil.OptionType getLast()