20 #if !UCONFIG_NO_FORMATTING
123 static UClassID U_EXPORT2 getStaticClassID(
void);
145 const TimeUnit& getTimeUnit()
const;
166 #endif // __TMUTAMT_H__
UTimeUnitFields
Constants for all the time units we supported.
An amount of a specified unit, consisting of a number and a Unit.
virtual UClassID getDynamicClassID() const =0
ICU4C "poor man's RTTI", returns a UClassID for the actual ICU class.
U_EXPORT UBool operator==(const StringPiece &x, const StringPiece &y)
Global operator == for StringPiece.
void * UClassID
UClassID is used to identify classes without using the compiler's RTTI.
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.
virtual UObject * clone() const =0
Return a polymorphic clone of this object.
UBool operator==(const UObject &other) const
Equality operator.
UBool operator!=(const StringPiece &x, const StringPiece &y)
Global operator != for StringPiece.
C++ API: MeasureUnit object.
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.