ICU 73.2  73.2
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 
71 U_CAPI const char * U_EXPORT2
73 
81 udispopt_fromGrammaticalCaseIdentifier(const char *identifier);
82 
90 
111 
118 U_CAPI const char * U_EXPORT2
120 
129 udispopt_fromPluralCategoryIdentifier(const char *identifier);
130 
161 
168 U_CAPI const char * U_EXPORT2
170 
178 udispopt_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 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.