Go to the documentation of this file.
22 #if !UCONFIG_NO_FORMATTING
147 const TimeUnit& getTimeUnit()
const;
168 #endif // __TMUTAMT_H__
static UClassID getStaticClassID(void)
Return the class ID for this class.
int8_t UBool
The ICU boolean type.
U_EXPORT UBool operator==(const StringPiece &x, const StringPiece &y)
Global operator == for StringPiece.
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
Error code to replace exception handling, so that the code is compatible with all C++ compilers,...
Measurement unit for time units.
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.
UBool operator==(const UObject &other) const
Equality operator.
virtual UObject * clone() const
Return a polymorphic clone of this object.
UTimeUnitFields
Constants for all the time units we supported.
#define U_NAMESPACE_BEGIN
virtual UClassID getDynamicClassID(void) const
Returns a unique class ID POLYMORPHICALLY.
C++ API: MeasureUnit object.
C++ API: time unit object.