| Modifier and Type | Class and Description |
|---|---|
| public static enum | DisplayContext.Type
Type values for DisplayContext |
| Modifier and Type | Field and Description |
|---|---|
| public static final DisplayContext | CAPITALIZATION_FOR_BEGINNING_OF_SENTENCE
A possible setting for CAPITALIZATION: The capitalization context if a date, date symbol or display name is to be formatted with capitalization appropriate for the beginning of a sentence. |
| public static final DisplayContext | CAPITALIZATION_FOR_MIDDLE_OF_SENTENCE
A possible setting for CAPITALIZATION: The capitalization context if a date, date symbol or display name is to be formatted with capitalization appropriate for the middle of a sentence. |
| public static final DisplayContext | CAPITALIZATION_FOR_STANDALONE
A possible setting for CAPITALIZATION: 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. |
| public static final DisplayContext | CAPITALIZATION_FOR_UI_LIST_OR_MENU
A possible setting for CAPITALIZATION: 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. |
| public static final DisplayContext | CAPITALIZATION_NONE
A possible setting for CAPITALIZATION: The capitalization context to be used is unknown (this is the default value). |
| public static final DisplayContext | DIALECT_NAMES
A possible setting for DIALECT_HANDLING: use dialect names, when generating a locale name, e.g. en_GB displays as 'British English'. |
| public static final DisplayContext | LENGTH_FULL
A possible setting for DISPLAY_LENGTH: use full names when generating a locale name, e.g. "United States" for US. |
| public static final DisplayContext | LENGTH_SHORT
A possible setting for DISPLAY_LENGTH: use short names when generating a locale name, e.g. "U.S." for US. |
| public static final DisplayContext | NO_SUBSTITUTE
A possible setting for SUBSTITUTE_HANDLING: Returns a null value when no data is available. |
| public static final DisplayContext | STANDARD_NAMES
A possible setting for DIALECT_HANDLING: use standard names when generating a locale name, e.g. en_GB displays as 'English (United Kingdom)'. |
| public static final DisplayContext | SUBSTITUTE
A possible setting for SUBSTITUTE_HANDLING: Returns a fallback value (e.g., the input code) when no data is available. |
| private final DisplayContext. | |
| private final int |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public DisplayContext. | |
| public int | |
| public static DisplayContext | |
| public static DisplayContext[] |
| CAPITALIZATION_FOR_BEGINNING_OF_SENTENCE | back to summary |
|---|---|
| public static final DisplayContext CAPITALIZATION_FOR_BEGINNING_OF_SENTENCE A possible setting for CAPITALIZATION: The capitalization context if a date, date symbol or display name is to be formatted with capitalization appropriate for the beginning of a sentence.
| |
| CAPITALIZATION_FOR_MIDDLE_OF_SENTENCE | back to summary |
|---|---|
| public static final DisplayContext CAPITALIZATION_FOR_MIDDLE_OF_SENTENCE A possible setting for CAPITALIZATION: The capitalization context if a date, date symbol or display name is to be formatted with capitalization appropriate for the middle of a sentence.
| |
| CAPITALIZATION_FOR_STANDALONE | back to summary |
|---|---|
| public static final DisplayContext CAPITALIZATION_FOR_STANDALONE A possible setting for CAPITALIZATION: 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.
| |
| CAPITALIZATION_FOR_UI_LIST_OR_MENU | back to summary |
|---|---|
| public static final DisplayContext CAPITALIZATION_FOR_UI_LIST_OR_MENU A possible setting for CAPITALIZATION: 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.
| |
| CAPITALIZATION_NONE | back to summary |
|---|---|
| public static final DisplayContext CAPITALIZATION_NONE A possible setting for CAPITALIZATION: The capitalization context to be used is unknown (this is the default value).
| |
| DIALECT_NAMES | back to summary |
|---|---|
| public static final DisplayContext DIALECT_NAMES A possible setting for DIALECT_HANDLING: use dialect names, when generating a locale name, e.g. en_GB displays as 'British English'.
| |
| LENGTH_FULL | back to summary |
|---|---|
| public static final DisplayContext LENGTH_FULL A possible setting for DISPLAY_LENGTH: use full names when generating a locale name, e.g. "United States" for US.
| |
| LENGTH_SHORT | back to summary |
|---|---|
| public static final DisplayContext LENGTH_SHORT A possible setting for DISPLAY_LENGTH: use short names when generating a locale name, e.g. "U.S." for US.
| |
| NO_SUBSTITUTE | back to summary |
|---|---|
| public static final DisplayContext NO_SUBSTITUTE A possible setting for SUBSTITUTE_HANDLING: Returns a null value when no data is available.
| |
| STANDARD_NAMES | back to summary |
|---|---|
| public static final DisplayContext STANDARD_NAMES A possible setting for DIALECT_HANDLING: use standard names when generating a locale name, e.g. en_GB displays as 'English (United Kingdom)'.
| |
| SUBSTITUTE | back to summary |
|---|---|
| public static final DisplayContext SUBSTITUTE A possible setting for SUBSTITUTE_HANDLING: Returns a fallback value (e.g., the input code) when no data is available. This is the default behavior.
| |
| type | back to summary |
|---|---|
| private final DisplayContext. | |
| value | back to summary |
|---|---|
| private final int value | |
| DisplayContext | back to summary |
|---|---|
| private DisplayContext(DisplayContext. | |
| type | back to summary |
|---|---|
| public DisplayContext. Get the Type part of the enum item (e.g. CAPITALIZATION)
| |
| value | back to summary |
|---|---|
| public int value() Get the value part of the enum item (e.g. CAPITALIZATION_FOR_STANDALONE)
| |
| valueOf | back to summary |
|---|---|
| public static DisplayContext valueOf(String name) | |
| values | back to summary |
|---|---|
| public static DisplayContext[] values() | |
| Modifier and Type | Field and Description |
|---|---|
| public static final DisplayContext. | CAPITALIZATION
CAPITALIZATION can be set to one of CAPITALIZATION_NONE through CAPITALIZATION_FOR_STANDALONE. |
| public static final DisplayContext. | DIALECT_HANDLING
DIALECT_HANDLING can be set to STANDARD_NAMES or DIALECT_NAMES. |
| public static final DisplayContext. | DISPLAY_LENGTH
DISPLAY_LENGTH can be set to LENGTH_FULL or LENGTH_SHORT. |
| public static final DisplayContext. | SUBSTITUTE_HANDLING
SUBSTITUTE_HANDLING can be set to SUBSTITUTE or NO_SUBSTITUTE. |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public static DisplayContext. | |
| public static DisplayContext. |
| CAPITALIZATION | back to summary |
|---|---|
| public static final DisplayContext. CAPITALIZATION can be set to one of CAPITALIZATION_NONE through CAPITALIZATION_FOR_STANDALONE.
| |
| DIALECT_HANDLING | back to summary |
|---|---|
| public static final DisplayContext. DIALECT_HANDLING can be set to STANDARD_NAMES or DIALECT_NAMES.
| |
| DISPLAY_LENGTH | back to summary |
|---|---|
| public static final DisplayContext. DISPLAY_LENGTH can be set to LENGTH_FULL or LENGTH_SHORT.
| |
| SUBSTITUTE_HANDLING | back to summary |
|---|---|
| public static final DisplayContext. SUBSTITUTE_HANDLING can be set to SUBSTITUTE or NO_SUBSTITUTE.
| |
| Type | back to summary |
|---|---|
| private Type() | |
| valueOf | back to summary |
|---|---|
| public static DisplayContext. | |
| values | back to summary |
|---|---|
| public static DisplayContext. | |