Go to the documentation of this file.
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;
251 #endif // __TMUTFMT_H__
Basic definitions for ICU, for both C and C++ APIs.
#define U_I18N_API
Set to export library symbols from inside the i18n library, and to import them from outside.
@ UTIMEUNIT_FIELD_COUNT
One more than the highest normal UTimeUnitFields value.
int8_t UBool
The ICU boolean type.
@ UTMUTFMT_ABBREVIATED_STYLE
C++ API: Compatibility APIs for measure formatting.
U_EXPORT UBool operator==(const StringPiece &x, const StringPiece &y)
Global operator == for StringPiece.
UTimeUnitFormatStyle
Constants for various styles.
UnicodeString is a string class that stores Unicode characters directly and provides similar function...
void * UClassID
UClassID is used to identify classes without using the compiler's RTTI.
UErrorCode
Standard ICU4C error code type, a substitute for exceptions.
@ UTMUTFMT_FORMAT_STYLE_COUNT
UBool operator!=(const StringPiece &x, const StringPiece &y)
Global operator != for StringPiece.
C++ API: time unit amount object.
C++ API: Compatibility APIs for number formatting.
C++ API: PluralRules object.
UTimeUnitFields
Constants for all the time units we supported.
ParsePosition is a simple class used by Format and its subclasses to keep track of the current positi...
A Locale object represents a specific geographical, political, or cultural region.
C++ API: time unit object.