public enum DefaultDateAdapter extends Enum<DefaultDateAdapter> implements Key
Enum Constant and Description |
---|
DATE_FNS
Date adapter ID for Date-fns.
|
LUXON
Date adapter ID for Luxon.
|
MOMENT
Date adapter ID for MOMENT.js.
|
UNKNOWN
Date adapter ID for the implementation where the ID is not set.
|
Modifier and Type | Method and Description |
---|---|
String |
value()
Returns the name value of property
|
static DefaultDateAdapter |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DefaultDateAdapter[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
checkAndGetIfValid, checkIfValid, compare, create, equals, getKeyByValue, getKeyByValue, hasKeyByValue, isValid
public static final DefaultDateAdapter MOMENT
public static final DefaultDateAdapter LUXON
public static final DefaultDateAdapter DATE_FNS
public static final DefaultDateAdapter UNKNOWN
public static DefaultDateAdapter[] values()
for (DefaultDateAdapter c : DefaultDateAdapter.values()) System.out.println(c);
public static DefaultDateAdapter 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