20 #if !UCONFIG_NO_FORMATTING
145 const TimeUnit& getTimeUnit()
const;
166 #endif // __TMUTAMT_H__
Express a duration as a time unit and number.
An amount of a specified unit, consisting of a number and a Unit.
UBool operator==(const UObject &other) const
Equality operator.
C++ API: time unit object.
#define U_I18N_API
Set to export library symbols from inside the i18n library, and to import them from outside...
UBool operator!=(const UObject &other) const
Not-equality operator.
#define U_NAMESPACE_BEGIN
This is used to begin a declaration of a public ICU C++ API.
Measure & operator=(const Measure &other)
Assignment operator.
C++ API: MeasureUnit object.
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.
virtual UBool operator==(const UObject &other) const
Equality operator.
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...
Measurement unit for time units.
virtual UObject * clone() const =0
Return a polymorphic clone of this object.
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.