Go to the documentation of this file.
19 #if !UCONFIG_NO_FORMATTING
20 #ifndef U_HIDE_DEPRECATED_API
193 Hashtable* fTimeUnitToCountToPatterns[TimeUnit::UTIMEUNIT_FIELD_COUNT];
206 void readFromCurrentLocale(
UTimeUnitFormatStyle style,
const char* key,
const UVector& pluralCounts,
222 void deleteHash(Hashtable* htable);
225 void copyHash(
const Hashtable* source, Hashtable* target,
UErrorCode& status);
242 #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.
int8_t UBool
The ICU boolean type.
@ UTMUTFMT_ABBREVIATED_STYLE
C++ API: Formatter for measure objects.
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: Abstract base class for all number formats.
C++ API: PluralRules object.
#define U_NAMESPACE_END
This is used to end a declaration of a public ICU C++ API.
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
This is used to begin a declaration of a public ICU C++ API.
A Locale object represents a specific geographical, political, or cultural region.
C++ API: time unit object.