lightbulb_outline Help shape the future of the Google Play Console, Android Studio, and Firebase. Start survey

DateFormat.BooleanAttribute

public static final enum DateFormat.BooleanAttribute
extends Enum<DateFormat.BooleanAttribute>

java.lang.Object
   ↳ java.lang.Enum<android.icu.text.DateFormat.BooleanAttribute>
     ↳ android.icu.text.DateFormat.BooleanAttribute


boolean attributes

Summary

Enum values

DateFormat.BooleanAttribute  PARSE_ALLOW_NUMERIC

indicates tolerance of numeric data when String data may be assumed. 

DateFormat.BooleanAttribute  PARSE_ALLOW_WHITESPACE

indicates whitespace tolerance. 

DateFormat.BooleanAttribute  PARSE_MULTIPLE_PATTERNS_FOR_MATCH

indicates tolerance of pattern mismatch between input data and specified format pattern. 

DateFormat.BooleanAttribute  PARSE_PARTIAL_LITERAL_MATCH

indicates tolerance of a partial literal match e.g. 

Public methods

static DateFormat.BooleanAttribute valueOf(String name)
static final BooleanAttribute[] values()

Inherited methods

Enum values

PARSE_ALLOW_NUMERIC

added in API level 24
public static final DateFormat.BooleanAttribute PARSE_ALLOW_NUMERIC

indicates tolerance of numeric data when String data may be assumed. e.g. YEAR_NAME_FIELD

PARSE_ALLOW_WHITESPACE

added in API level 24
public static final DateFormat.BooleanAttribute PARSE_ALLOW_WHITESPACE

indicates whitespace tolerance. Also included is trailing dot tolerance.

PARSE_MULTIPLE_PATTERNS_FOR_MATCH

added in API level 26
public static final DateFormat.BooleanAttribute PARSE_MULTIPLE_PATTERNS_FOR_MATCH

indicates tolerance of pattern mismatch between input data and specified format pattern. e.g. accepting "September" for a month pattern of MMM ("Sep")

PARSE_PARTIAL_LITERAL_MATCH

added in API level 26
public static final DateFormat.BooleanAttribute 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"

Public methods

valueOf

added in API level 24
public static DateFormat.BooleanAttribute valueOf (String name)

Parameters
name String

Returns
DateFormat.BooleanAttribute

values

added in API level 24
public static final BooleanAttribute[] values ()

Returns
BooleanAttribute[]