DateTimePatternGenerator.DisplayWidth


public static final enum DateTimePatternGenerator.DisplayWidth
extends Enum<DateTimePatternGenerator.DisplayWidth>

java.lang.Object
   ↳ java.lang.Enum<android.icu.text.DateTimePatternGenerator.DisplayWidth>
     ↳ android.icu.text.DateTimePatternGenerator.DisplayWidth


Field display name width constants for getFieldDisplayName

Summary

Enum values

DateTimePatternGenerator.DisplayWidth  ABBREVIATED

An abbreviated field name (may be the same as the wide version, if short enough) 

DateTimePatternGenerator.DisplayWidth  NARROW

The shortest possible field name (may be the same as the abbreviated version) 

DateTimePatternGenerator.DisplayWidth  WIDE

The full field name 

Public methods

static DateTimePatternGenerator.DisplayWidth valueOf(String name)
static final DisplayWidth[] values()

Inherited methods

Enum values

ABBREVIATED

Added in API level 30
public static final DateTimePatternGenerator.DisplayWidth ABBREVIATED

An abbreviated field name (may be the same as the wide version, if short enough)

NARROW

Added in API level 30
public static final DateTimePatternGenerator.DisplayWidth NARROW

The shortest possible field name (may be the same as the abbreviated version)

WIDE

Added in API level 30
public static final DateTimePatternGenerator.DisplayWidth WIDE

The full field name

Public methods

valueOf

public static DateTimePatternGenerator.DisplayWidth valueOf (String name)

Parameters
name String

Returns
DateTimePatternGenerator.DisplayWidth

values

public static final DisplayWidth[] values ()

Returns
DisplayWidth[]