public static enum DisplayOptions.Capitalization extends Enum<DisplayOptions.Capitalization>
Enum Constant and Description |
---|
BEGINNING_OF_SENTENCE
The capitalization context if a date, date symbol or display name is to be formatted with
capitalization appropriate for the beginning of a sentence.
|
MIDDLE_OF_SENTENCE
The capitalization context if a date, date symbol or display name is to be formatted with
capitalization appropriate for the middle of a sentence.
|
STANDALONE
The capitalization context if a date, date symbol or display name is to be formatted with
capitalization appropriate for stand-alone usage such as an isolated name on a calendar
page.
|
UI_LIST_OR_MENU
The capitalization context if a date, date symbol or display name is to be formatted with
capitalization appropriate for a user-interface list or menu item.
|
UNDEFINED
A possible setting for Capitalization.
|
Modifier and Type | Field and Description |
---|---|
static List<DisplayOptions.Capitalization> |
VALUES
Unmodifiable List of all the capitalizations constants.
|
Modifier and Type | Method and Description |
---|---|
static DisplayOptions.Capitalization |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DisplayOptions.Capitalization[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DisplayOptions.Capitalization UNDEFINED
public static final DisplayOptions.Capitalization BEGINNING_OF_SENTENCE
public static final DisplayOptions.Capitalization MIDDLE_OF_SENTENCE
public static final DisplayOptions.Capitalization STANDALONE
public static final DisplayOptions.Capitalization UI_LIST_OR_MENU
public static final List<DisplayOptions.Capitalization> VALUES
values()
.public static DisplayOptions.Capitalization[] values()
for (DisplayOptions.Capitalization c : DisplayOptions.Capitalization.values()) System.out.println(c);
public static DisplayOptions.Capitalization 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.