13 #ifndef MEASUREFORMAT_H 14 #define MEASUREFORMAT_H 18 #if !UCONFIG_NO_FORMATTING 64 #ifndef U_HIDE_DEPRECATED_API 70 #endif // U_HIDE_DEPRECATED_API 81 class MeasureFormatCacheData;
82 class SharedNumberFormat;
83 class SharedPluralRules;
84 class QuantityFormatter;
85 class SimpleFormatter;
195 int32_t measureCount,
271 static UClassID U_EXPORT2 getStaticClassID(
void);
293 #ifndef U_HIDE_INTERNAL_API 300 void initMeasureFormat(
355 const MeasureFormatCacheData *cache;
356 const SharedNumberFormat *numberFormat;
357 const SharedPluralRules *pluralRules;
374 int32_t measureCount,
397 #endif // #if !UCONFIG_NO_FORMATTING 398 #endif // #ifndef MEASUREFORMAT_H
UMeasureFormatWidth
Constants for various widths.
A unit such as length, mass, volume, currency, etc.
One more than the highest normal UMeasureFormatWidth value.
An amount of a specified unit, consisting of a number and a Unit.
Use symbols for measure units when possible.
double UDate
Date and Time data type.
void * UClassID
UClassID is used to identify classes without using the compiler's RTTI.
Defines rules for mapping non-negative numeric values onto a small set of keywords.
#define U_I18N_API
Set to export library symbols from inside the i18n library, and to import them from outside...
#define U_NAMESPACE_BEGIN
This is used to begin a declaration of a public ICU C++ API.
Abbreviate measure units.
virtual UClassID getDynamicClassID() const
ICU4C "poor man's RTTI", returns a UClassID for the actual ICU class.
Completely omit measure units when possible.
#define U_NAMESPACE_END
This is used to end a declaration of a public ICU C++ API.
UDateFormatField
FieldPosition and UFieldPosition selectors for format fields defined by DateFormat and UDateFormat...
UErrorCode
Error code to replace exception handling, so that the code is compatible with all C++ compilers...
FieldPosition is a simple class used by Format and its subclasses to identify fields in formatted out...
ParsePosition is a simple class used by Format and its subclasses to keep track of the current positi...
Basic definitions for ICU, for both C and C++ APIs.
UnicodeString is a string class that stores Unicode characters directly and provides similar function...
int8_t UBool
The ICU boolean type.
A Locale object represents a specific geographical, political, or cultural region.