22 #if !UCONFIG_NO_FORMATTING 147 const TimeUnit& getTimeUnit()
const;
168 #endif // __TMUTAMT_H__ virtual UObject * clone() const
Return a polymorphic clone of this object.
UTimeUnitFields
Constants for all the time units we supported.
An amount of a specified unit, consisting of a number and a Unit.
UBool operator==(const UObject &other) const
Equality operator.
void * UClassID
UClassID is used to identify classes without using the compiler's RTTI.
UBool operator!=(const UObject &other) const
Not-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...
#define U_NAMESPACE_BEGIN
This is used to begin a declaration of a public ICU C++ API.
Measurement unit for time units.
UBool operator!=(const StringPiece &x, const StringPiece &y)
Global operator != for StringPiece.
C++ API: MeasureUnit object.
virtual UClassID getDynamicClassID(void) const
Returns a unique class ID POLYMORPHICALLY.
static UClassID getStaticClassID(void)
Return the class ID for this class.
Express a duration as a time unit and number.
#define U_NAMESPACE_END
This is used to end a declaration of a public ICU C++ API.
Measure & operator=(const Measure &other)
Assignment operator.
UErrorCode
Error code to replace exception handling, so that the code is compatible with all C++ compilers...
UObject is the common ICU "boilerplate" class.
int8_t UBool
The ICU boolean type.