ICU 72.1 72.1
udisplayoptions.h
Go to the documentation of this file.
1// © 2022 and later: Unicode, Inc. and others.
2// License & terms of use: http://www.unicode.org/copyright.html
3
4#ifndef __UDISPLAYOPTIONS_H__
5#define __UDISPLAYOPTIONS_H__
6
7#include "unicode/utypes.h"
8
9#if !UCONFIG_NO_FORMATTING
10
19#include "unicode/uversion.h"
20
21#ifndef U_HIDE_DRAFT_API
22
64
71U_CAPI const char * U_EXPORT2
73
82
90
111
118U_CAPI const char * U_EXPORT2
120
130
161
168U_CAPI const char * U_EXPORT2
170
178udispopt_fromNounClassIdentifier(const char *identifier);
179
193
201
209
218
227
241
249
258
272
280
289
296
304
312
320
321#endif // U_HIDE_DRAFT_API
322
323#endif /* #if !UCONFIG_NO_FORMATTING */
324
325#endif // __UDISPLAYOPTIONS_H__
U_CAPI UDisplayOptionsNounClass udispopt_fromNounClassIdentifier(const char *identifier)
U_CAPI const char * udispopt_getNounClassIdentifier(UDisplayOptionsNounClass nounClass)
UDisplayOptionsCapitalization
Represents all the capitalization options.
@ UDISPOPT_CAPITALIZATION_UI_LIST_OR_MENU
The capitalization context if a date, date symbol or display name is to be formatted with capitalizat...
@ UDISPOPT_CAPITALIZATION_UNDEFINED
A possible setting for Capitalization.
@ UDISPOPT_CAPITALIZATION_STANDALONE
The capitalization context if a date, date symbol or display name is to be formatted with capitalizat...
@ UDISPOPT_CAPITALIZATION_BEGINNING_OF_SENTENCE
The capitalization context if a date, date symbol or display name is to be formatted with capitalizat...
@ UDISPOPT_CAPITALIZATION_MIDDLE_OF_SENTENCE
The capitalization context if a date, date symbol or display name is to be formatted with capitalizat...
U_CAPI const char * udispopt_getPluralCategoryIdentifier(UDisplayOptionsPluralCategory pluralCategory)
U_CAPI UDisplayOptionsGrammaticalCase udispopt_fromGrammaticalCaseIdentifier(const char *identifier)
UDisplayOptionsSubstituteHandling
Represents all the substitute handling.
@ UDISPOPT_SUBSTITUTE_HANDLING_NO_SUBSTITUTE
Returns a null value when no data is available.
@ UDISPOPT_SUBSTITUTE_HANDLING_SUBSTITUTE
Returns a fallback value (e.g., the input code) when no data is available.
@ UDISPOPT_SUBSTITUTE_HANDLING_UNDEFINED
A possible setting for SubstituteHandling.
UDisplayOptionsPluralCategory
Standard CLDR plural form/category constants.
@ UDISPOPT_PLURAL_CATEGORY_FEW
@ UDISPOPT_PLURAL_CATEGORY_ZERO
@ UDISPOPT_PLURAL_CATEGORY_ONE
@ UDISPOPT_PLURAL_CATEGORY_MANY
@ UDISPOPT_PLURAL_CATEGORY_OTHER
@ UDISPOPT_PLURAL_CATEGORY_UNDEFINED
A possible setting for PluralCategory.
@ UDISPOPT_PLURAL_CATEGORY_TWO
U_CAPI const char * udispopt_getGrammaticalCaseIdentifier(UDisplayOptionsGrammaticalCase grammaticalCase)
U_CAPI UDisplayOptionsPluralCategory udispopt_fromPluralCategoryIdentifier(const char *identifier)
UDisplayOptionsGrammaticalCase
Represents all the grammatical cases that are supported by CLDR.
@ UDISPOPT_GRAMMATICAL_CASE_ACCUSATIVE
@ UDISPOPT_GRAMMATICAL_CASE_LOCATIVE_COPULATIVE
@ UDISPOPT_GRAMMATICAL_CASE_PREPOSITIONAL
@ UDISPOPT_GRAMMATICAL_CASE_OBLIQUE
@ UDISPOPT_GRAMMATICAL_CASE_ERGATIVE
@ UDISPOPT_GRAMMATICAL_CASE_COMITATIVE
@ UDISPOPT_GRAMMATICAL_CASE_NOMINATIVE
@ UDISPOPT_GRAMMATICAL_CASE_GENITIVE
@ UDISPOPT_GRAMMATICAL_CASE_UNDEFINED
A possible setting for GrammaticalCase.
@ UDISPOPT_GRAMMATICAL_CASE_SOCIATIVE
@ UDISPOPT_GRAMMATICAL_CASE_INSTRUMENTAL
@ UDISPOPT_GRAMMATICAL_CASE_LOCATIVE
@ UDISPOPT_GRAMMATICAL_CASE_DATIVE
@ UDISPOPT_GRAMMATICAL_CASE_ABLATIVE
@ UDISPOPT_GRAMMATICAL_CASE_VOCATIVE
UDisplayOptionsNameStyle
Represents all the dialect handlings.
@ UDISPOPT_NAME_STYLE_STANDARD_NAMES
Use standard names when generating a locale name, e.g.
@ UDISPOPT_NAME_STYLE_UNDEFINED
A possible setting for NameStyle.
@ UDISPOPT_NAME_STYLE_DIALECT_NAMES
Use dialect names, when generating a locale name, e.g.
UDisplayOptionsNounClass
Represents all the grammatical noun classes that are supported by CLDR.
@ UDISPOPT_NOUN_CLASS_COMMON
ICU 72.
@ UDISPOPT_NOUN_CLASS_MASCULINE
ICU 72.
@ UDISPOPT_NOUN_CLASS_NEUTER
ICU 72.
@ UDISPOPT_NOUN_CLASS_UNDEFINED
A possible setting for NounClass.
@ UDISPOPT_NOUN_CLASS_FEMININE
ICU 72.
@ UDISPOPT_NOUN_CLASS_OTHER
ICU 72.
@ UDISPOPT_NOUN_CLASS_INANIMATE
ICU 72.
@ UDISPOPT_NOUN_CLASS_PERSONAL
ICU 72.
@ UDISPOPT_NOUN_CLASS_ANIMATE
ICU 72.
UDisplayOptionsDisplayLength
Represents all the display lengths.
@ UDISPOPT_DISPLAY_LENGTH_SHORT
Use short names when generating a locale name, e.g.
@ UDISPOPT_DISPLAY_LENGTH_UNDEFINED
A possible setting for DisplayLength.
@ UDISPOPT_DISPLAY_LENGTH_FULL
Uses full names when generating a locale name, e.g.
#define U_CAPI
This is used to declare a function as a public ICU C API.
Definition: umachine.h:110
Basic definitions for ICU, for both C and C++ APIs.
C API: API for accessing ICU version numbers.