Go to the documentation of this file.
21 #if U_SHOW_CPLUSPLUS_API
23 #if !UCONFIG_NO_FORMATTING
149 const TimeUnit& getTimeUnit()
const;
172 #endif // __TMUTAMT_H__
bool operator==(const UObject &other) const
Equality operator.
Basic definitions for ICU, for both C and C++ APIs.
static UClassID getStaticClassID()
Return the class ID for this class.
virtual Measure * clone() const
Return a polymorphic clone of this object.
bool operator!=(const UObject &other) const
Inequality operator.
Measure & operator=(const Measure &other)
Assignment operator.
UObject is the common ICU "boilerplate" class.
void * UClassID
UClassID is used to identify classes without using the compiler's RTTI.
UErrorCode
Standard ICU4C error code type, a substitute for exceptions.
Measurement unit for time units.
U_COMMON_API UBool operator==(const StringPiece &x, const StringPiece &y)
Global operator == for StringPiece.
Express a duration as a time unit and number.
An amount of a specified unit, consisting of a number and a Unit.
bool operator!=(const StringPiece &x, const StringPiece &y)
Global operator != for StringPiece.
virtual UClassID getDynamicClassID() const override
Returns a unique class ID POLYMORPHICALLY.
UTimeUnitFields
Constants for all the time units we supported.
C++ API: MeasureUnit object.
C++ API: time unit object.