public static enum TimeException.Type extends Enum<TimeException.Type> implements StringValue<TimeException.Type>
| Modifier and Type | Method and Description |
|---|---|
static TimeException.Type |
fromValue(String v) |
String |
toString() |
String |
value() |
static TimeException.Type |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TimeException.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TimeException.Type EXCLUDE
public static final TimeException.Type INCLUDE
public static TimeException.Type[] values()
for (TimeException.Type c : TimeException.Type.values()) System.out.println(c);
public static TimeException.Type 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 String value()
value in interface StringValue<TimeException.Type>public static TimeException.Type fromValue(String v)
public String toString()
toString in class Enum<TimeException.Type>Copyright © 2022. All rights reserved.