ICU 75.1 75.1
Loading...
Searching...
No Matches
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
62
69U_CAPI const char * U_EXPORT2
71
80
109
116U_CAPI const char * U_EXPORT2
118
128
159
166U_CAPI const char * U_EXPORT2
168
176udispopt_fromNounClassIdentifier(const char *identifier);
177
225
256
287
318
319#endif /* #if !UCONFIG_NO_FORMATTING */
320
321#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
@ UDISPOPT_NOUN_CLASS_MASCULINE
@ UDISPOPT_NOUN_CLASS_NEUTER
@ UDISPOPT_NOUN_CLASS_UNDEFINED
A possible setting for NounClass.
@ UDISPOPT_NOUN_CLASS_FEMININE
@ UDISPOPT_NOUN_CLASS_OTHER
@ UDISPOPT_NOUN_CLASS_INANIMATE
@ UDISPOPT_NOUN_CLASS_PERSONAL
@ UDISPOPT_NOUN_CLASS_ANIMATE
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.