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. accepting "--mon-02-march-2011" for a pattern of "'--: 'EEE-WW-MMMM-yyyy"  | 
  
Public methods | |
|---|---|
        
        
        static
        
        
        DateFormat.BooleanAttribute
     | 
  
    
      
      valueOf(String name)
      
      
     | 
  
        
        
        static
        final
        
        BooleanAttribute[]
     | 
  
    
      
      values()
      
      
     | 
  
Inherited methods | |
|---|---|
Enum values
PARSE_ALLOW_NUMERIC
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
public static final DateFormat.BooleanAttribute PARSE_ALLOW_WHITESPACE
indicates whitespace tolerance. Also included is trailing dot tolerance.
PARSE_MULTIPLE_PATTERNS_FOR_MATCH
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
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
public static DateFormat.BooleanAttribute valueOf (String name)
| Parameters | |
|---|---|
name | 
        
          String  | 
      
| Returns | |
|---|---|
DateFormat.BooleanAttribute | 
        |
Content and code samples on this page are subject to the licenses described in the Content License. Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
Last updated 2025-09-17 UTC.