public enum FormatMatcher extends Enum<FormatMatcher> implements Key
DateTimeFormatOptions.setFormatMatcher(org.pepstock.charba.client.intl.enums.FormatMatcher)
property.Enum Constant and Description |
---|
BASIC
Basic algorithm to get the format.
|
BEST_FIT
Lets the runtime provide a locale that's at least, but possibly more, suited for the request than the result of the basic algorithm.
|
Modifier and Type | Method and Description |
---|---|
String |
value()
Returns the name value of property
|
static FormatMatcher |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static FormatMatcher[] |
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 FormatMatcher BASIC
public static final FormatMatcher BEST_FIT
public static FormatMatcher[] values()
for (FormatMatcher c : FormatMatcher.values()) System.out.println(c);
public static FormatMatcher 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