Serializable
, Comparable<MeasureFormat.FormatWidth>
public static enum MeasureFormat.FormatWidth extends Enum<MeasureFormat.FormatWidth>
Enum Constant | Description |
---|---|
NARROW |
Brief.
|
NUMERIC |
Identical to NARROW except when formatMeasures is called with
an hour and minute; minute and second; or hour, minute, and second Measures.
|
SHORT |
Abbreviate when possible.
|
WIDE |
Spell out everything.
|
Modifier and Type | Method | Description |
---|---|---|
static MeasureFormat.FormatWidth |
valueOf(String name) |
Returns the enum constant of this type with the specified name.
|
static MeasureFormat.FormatWidth[] |
values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MeasureFormat.FormatWidth WIDE
public static final MeasureFormat.FormatWidth SHORT
public static final MeasureFormat.FormatWidth NARROW
public static final MeasureFormat.FormatWidth NUMERIC
public static MeasureFormat.FormatWidth[] values()
for (MeasureFormat.FormatWidth c : MeasureFormat.FormatWidth.values()) System.out.println(c);
public static MeasureFormat.FormatWidth valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullCopyright © 2016 Unicode, Inc. and others.