Added in API level 30

DisplayWidth

class DisplayWidth
kotlin.Any
   ↳ kotlin.Enum<android.icu.text.DateTimePatternGenerator.DisplayWidth>
   ↳ android.icu.text.DateTimePatternGenerator.DisplayWidth

Field display name width constants for getFieldDisplayName

Summary

Enum values

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

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

The full field name

Enum values

ABBREVIATED

Added in API level 30
enum val ABBREVIATED : DateTimePatternGenerator.DisplayWidth

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

NARROW

Added in API level 30
enum val NARROW : DateTimePatternGenerator.DisplayWidth

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

WIDE

Added in API level 30
enum val WIDE : DateTimePatternGenerator.DisplayWidth

The full field name