Most visited

Recently visited

Added in API level 24

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. 

Public methods

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

Inherited methods

From class java.lang.Enum
From class java.lang.Object
From interface java.lang.Comparable

Enum values

PARSE_ALLOW_NUMERIC

Added in API level 24
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
DateFormat.BooleanAttribute PARSE_ALLOW_WHITESPACE

indicates whitespace tolerance. Also included is trailing dot tolerance.

Public methods

valueOf

Added in API level 24
DateFormat.BooleanAttribute valueOf (String name)

Parameters
name String
Returns
DateFormat.BooleanAttribute

values

Added in API level 24
BooleanAttribute[] values ()

Returns
BooleanAttribute[]