Go to the documentation of this file.
20 #if !UCONFIG_NO_FORMATTING
57 static TimeUnit* U_EXPORT2 createInstance(UTimeUnitFields timeUnitField,
103 UTimeUnitFields getTimeUnitField()
const;
112 UTimeUnitFields fTimeUnitField;
118 TimeUnit(UTimeUnitFields timeUnitField);
127 #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