21 #if U_SHOW_CPLUSPLUS_API
23 #if !UCONFIG_NO_FORMATTING
32 #ifndef U_HIDE_DEPRECATED_API
57 struct TimeUnitFormatReadSink;
212 void readFromCurrentLocale(
UTimeUnitFormatStyle style,
const char* key,
const UVector& pluralCounts,
228 void deleteHash(Hashtable* htable);
231 void copyHash(
const Hashtable* source, Hashtable* target,
UErrorCode& status);
236 friend struct TimeUnitFormatReadSink;
A Locale object represents a specific geographical, political, or cultural region.
ParsePosition is a simple class used by Format and its subclasses to keep track of the current positi...
UTimeUnitFields
Constants for all the time units we supported.
@ UTIMEUNIT_FIELD_COUNT
One more than the highest normal UTimeUnitFields value.
UnicodeString is a string class that stores Unicode characters directly and provides similar function...
C++ API: Compatibility APIs for measure formatting.
U_EXPORT UBool operator==(const StringPiece &x, const StringPiece &y)
Global operator == for StringPiece.
UBool operator!=(const StringPiece &x, const StringPiece &y)
Global operator != for StringPiece.
C++ API: Compatibility APIs for number formatting.
C++ API: PluralRules object.
C++ API: time unit object.
C++ API: time unit amount object.
UTimeUnitFormatStyle
Constants for various styles.
@ UTMUTFMT_ABBREVIATED_STYLE
@ UTMUTFMT_FORMAT_STYLE_COUNT
int8_t UBool
The ICU boolean type, a signed-byte integer.
void * UClassID
UClassID is used to identify classes without using the compiler's RTTI.
Basic definitions for ICU, for both C and C++ APIs.
UErrorCode
Standard ICU4C error code type, a substitute for exceptions.
#define U_I18N_API
Set to export library symbols from inside the i18n library, and to import them from outside.