public static enum DateFormat.BooleanAttribute extends Enum<DateFormat.BooleanAttribute>
Enum Constant and Description |
---|
PARSE_ALLOW_NUMERIC
indicates tolerance of numeric data when String data may be assumed. eg: YEAR_NAME_FIELD
|
PARSE_ALLOW_WHITESPACE
indicates whitespace tolerance.
|
Modifier and Type | Method and Description |
---|---|
static DateFormat.BooleanAttribute |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DateFormat.BooleanAttribute[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DateFormat.BooleanAttribute PARSE_ALLOW_WHITESPACE
public static final DateFormat.BooleanAttribute PARSE_ALLOW_NUMERIC
public static DateFormat.BooleanAttribute[] values()
for (DateFormat.BooleanAttribute c : DateFormat.BooleanAttribute.values()) System.out.println(c);
public static DateFormat.BooleanAttribute 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 (c) 2013 IBM Corporation and others.