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.
|
PARSE_ALLOW_WHITESPACE
indicates whitespace tolerance.
|
PARSE_MULTIPLE_PATTERNS_FOR_MATCH
indicates tolerance of pattern mismatch between input data and specified format pattern.
|
PARSE_PARTIAL_LITERAL_MATCH
indicates tolerance of a partial literal match
e.g. accepting "--mon-02-march-2011" for a pattern of "'--: 'EEE-WW-MMMM-yyyy"
|
PARSE_PARTIAL_MATCH
Deprecated.
|
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 final DateFormat.BooleanAttribute PARSE_MULTIPLE_PATTERNS_FOR_MATCH
public static final DateFormat.BooleanAttribute PARSE_PARTIAL_LITERAL_MATCH
@Deprecated public static final DateFormat.BooleanAttribute PARSE_PARTIAL_MATCH
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 © 2016 Unicode, Inc. and others.