Added in API level 24

BooleanAttribute


class BooleanAttribute
kotlin.Any
   ↳ kotlin.Enum<android.icu.text.DateFormat.BooleanAttribute>
   ↳ android.icu.text.DateFormat.BooleanAttribute

boolean attributes

Summary

Enum values

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

indicates whitespace tolerance.

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

indicates tolerance of a partial literal match e.

Enum values

PARSE_ALLOW_NUMERIC

Added in API level 24
enum val PARSE_ALLOW_NUMERIC : DateFormat.BooleanAttribute

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

PARSE_ALLOW_WHITESPACE

Added in API level 24
enum val PARSE_ALLOW_WHITESPACE : DateFormat.BooleanAttribute

indicates whitespace tolerance. Also included is trailing dot tolerance.

PARSE_MULTIPLE_PATTERNS_FOR_MATCH

Added in API level 26
enum val PARSE_MULTIPLE_PATTERNS_FOR_MATCH : DateFormat.BooleanAttribute

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
enum val PARSE_PARTIAL_LITERAL_MATCH : DateFormat.BooleanAttribute

indicates tolerance of a partial literal match e.g. accepting "--mon-02-march-2011" for a pattern of "'--: 'EEE-WW-MMMM-yyyy"