20 #if !UCONFIG_NO_FORMATTING
117 UTimeUnitFields getTimeUnitField()
const;
126 UTimeUnitFields fTimeUnitField;
132 TimeUnit(UTimeUnitFields timeUnitField);
147 #endif // __TMUNIT_H__
virtual UObject * clone() const =0
Return a polymorphic clone of this object.
#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.
A unit such as length, mass, volume, currency, etc.
C++ API: A unit for measuring a quantity.
UTimeUnitFields
Constants for all the time units we supported.
#define U_NAMESPACE_END
This is used to end a declaration of a public ICU C++ API If the compiler doesn't support namespaces...
UObject is the common ICU "boilerplate" class.
void * UClassID
UClassID is used to identify classes without using RTTI, since RTTI is not yet supported by all C++ c...
UErrorCode
Error code to replace exception handling, so that the code is compatible with all C++ compilers...
UBool operator!=(const UObject &other) const
Non-Equality operator.
Measurement unit for time units.
virtual UBool operator==(const UObject &other) const =0
Equality operator.
virtual UClassID getDynamicClassID() const =0
ICU4C "poor man's RTTI", returns a UClassID for the actual ICU class.
int8_t UBool
The ICU boolean type.
virtual UBool operator==(const UObject &other) const
Equality operator.