Package com.ibm.icu.text
Enum DateTimePatternGenerator.DisplayWidth
java.lang.Object
java.lang.Enum<DateTimePatternGenerator.DisplayWidth>
com.ibm.icu.text.DateTimePatternGenerator.DisplayWidth
- All Implemented Interfaces:
Serializable
,Comparable<DateTimePatternGenerator.DisplayWidth>
,java.lang.constant.Constable
- Enclosing class:
DateTimePatternGenerator
public static enum DateTimePatternGenerator.DisplayWidth
extends Enum<DateTimePatternGenerator.DisplayWidth>
Field display name width constants for getFieldDisplayName
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionAn 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 -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
-
Enum Constant Details
-
WIDE
The full field name -
ABBREVIATED
An abbreviated field name (may be the same as the wide version, if short enough) -
NARROW
The shortest possible field name (may be the same as the abbreviated version)
-
-
Field Details
-
COUNT
Deprecated.This API is ICU internal only.The count of available widths -
cldrKey
-
-
Constructor Details
-
DisplayWidth
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
cldrKey
-