Go to the documentation of this file.
21 #if !UCONFIG_NO_FORMATTING
22 #ifndef U_HIDE_DEPRECATED_API
55 struct TimeUnitFormatReadSink;
210 void readFromCurrentLocale(
UTimeUnitFormatStyle style,
const char* key,
const UVector& pluralCounts,
226 void deleteHash(Hashtable* htable);
229 void copyHash(
const Hashtable* source, Hashtable* target,
UErrorCode& status);
234 friend struct TimeUnitFormatReadSink;
247 #endif // __TMUTFMT_H__
Basic definitions for ICU, for both C and C++ APIs.
@ 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
Error code to replace exception handling, so that the code is compatible with all C++ compilers,...
@ 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...
#define U_NAMESPACE_BEGIN
A Locale object represents a specific geographical, political, or cultural region.
C++ API: time unit object.