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
public static final DateTimePatternGenerator.DisplayWidth ABBREVIATED
An abbreviated field name (may be the same as the wide version, if short enough)
NARROW
public static final DateTimePatternGenerator.DisplayWidth NARROW
The shortest possible field name (may be the same as the abbreviated version)
WIDE
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 |
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 2024-12-18 UTC.