ICU 76.1  76.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 
62 
69 U_CAPI const char * U_EXPORT2
71 
79 udispopt_fromGrammaticalCaseIdentifier(const char *identifier);
80 
88 
109 
116 U_CAPI const char * U_EXPORT2
118 
127 udispopt_fromPluralCategoryIdentifier(const char *identifier);
128 
159 
166 U_CAPI const char * U_EXPORT2
168 
176 udispopt_fromNounClassIdentifier(const char *identifier);
177 
191 
199 
207 
216 
225 
239 
247 
256 
270 
278 
287 
294 
302 
310 
318 
319 #endif /* #if !UCONFIG_NO_FORMATTING */
320 
321 #endif // __UDISPLAYOPTIONS_H__
U_CAPI const char * udispopt_getPluralCategoryIdentifier(UDisplayOptionsPluralCategory pluralCategory)
Returns a fallback value (e.g., the input code) when no data is available.
The capitalization context if a date, date symbol or display name is to be formatted with capitalizat...
#define U_CAPI
This is used to declare a function as a public ICU C API.
Definition: umachine.h:110
A possible setting for Capitalization.
U_CAPI const char * udispopt_getNounClassIdentifier(UDisplayOptionsNounClass nounClass)
The capitalization context if a date, date symbol or display name is to be formatted with capitalizat...
The capitalization context if a date, date symbol or display name is to be formatted with capitalizat...
Uses full names when generating a locale name, e.g.
Returns a null value when no data is available.
U_CAPI UDisplayOptionsGrammaticalCase udispopt_fromGrammaticalCaseIdentifier(const char *identifier)
C API: API for accessing ICU version numbers.
Use standard names when generating a locale name, e.g.
UDisplayOptionsSubstituteHandling
Represents all the substitute handling.
A possible setting for PluralCategory.
UDisplayOptionsGrammaticalCase
Represents all the grammatical cases that are supported by CLDR.
U_CAPI UDisplayOptionsPluralCategory udispopt_fromPluralCategoryIdentifier(const char *identifier)
UDisplayOptionsPluralCategory
Standard CLDR plural form/category constants.
A possible setting for DisplayLength.
A possible setting for GrammaticalCase.
A possible setting for NounClass.
U_CAPI const char * udispopt_getGrammaticalCaseIdentifier(UDisplayOptionsGrammaticalCase grammaticalCase)
The capitalization context if a date, date symbol or display name is to be formatted with capitalizat...
A possible setting for NameStyle.
UDisplayOptionsNounClass
Represents all the grammatical noun classes that are supported by CLDR.
UDisplayOptionsDisplayLength
Represents all the display lengths.
Basic definitions for ICU, for both C and C++ APIs.
A possible setting for SubstituteHandling.
U_CAPI UDisplayOptionsNounClass udispopt_fromNounClassIdentifier(const char *identifier)
UDisplayOptionsNameStyle
Represents all the dialect handlings.
Use short names when generating a locale name, e.g.
Use dialect names, when generating a locale name, e.g.
UDisplayOptionsCapitalization
Represents all the capitalization options.