Go to the documentation of this file.
22 #if !UCONFIG_NO_FORMATTING
46 #ifndef U_HIDE_DEPRECATED_API
52 #endif // U_HIDE_DEPRECATED_API
65 static TimeUnit* U_EXPORT2 createInstance(UTimeUnitFields timeUnitField,
111 UTimeUnitFields getTimeUnitField()
const;
120 UTimeUnitFields fTimeUnitField;
126 TimeUnit(UTimeUnitFields timeUnitField);
135 #endif // __TMUNIT_H__
A unit such as length, mass, volume, currency, etc.
virtual UClassID getDynamicClassID(void) const
Returns a unique class ID POLYMORPHICALLY.
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.
MeasureUnit & operator=(const MeasureUnit &other)
Assignment operator.
static UClassID getStaticClassID(void)
Return the class ID for this class.
virtual UObject * clone() const
Returns a polymorphic clone of this object.
UTimeUnitFields
Constants for all the time units we supported.
C++ API: A unit for measuring a quantity.
#define U_NAMESPACE_BEGIN