java.io.Serializable
, java.lang.Comparable<DateFormat.BooleanAttribute>
public static enum DateFormat.BooleanAttribute extends java.lang.Enum<DateFormat.BooleanAttribute>
Enum Constant | 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.
|
PARSE_PARTIAL_MATCH |
Deprecated.
|
Modifier and Type | Method | Description |
---|---|---|
static DateFormat.BooleanAttribute |
valueOf(java.lang.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(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullCopyright ? 2016 Unicode, Inc. and others.