22#if !UCONFIG_NO_FORMATTING
46#ifndef U_HIDE_DEPRECATED_API
"Smart pointer" base class; do not use directly: use LocalPointer etc.
A unit such as length, mass, volume, currency, etc.
Measurement unit for time units.
static UClassID getStaticClassID()
Returns the class ID for this class.
static TimeUnit * createInstance(UTimeUnitFields timeUnitField, UErrorCode &status)
Create Instance.
TimeUnit(const TimeUnit &other)
Copy operator.
virtual ~TimeUnit()
Destructor.
UTimeUnitFields
Constants for all the time units we supported.
TimeUnit & operator=(const TimeUnit &other)
Assignment operator.
virtual UClassID getDynamicClassID() const
Returns a unique class ID for this object POLYMORPHICALLY.
UTimeUnitFields getTimeUnitField() const
Get time unit field.
virtual UObject * clone() const
Override clone.
UObject is the common ICU "boilerplate" class.
C++ API: A unit for measuring a quantity.
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,...
#define U_I18N_API
Set to export library symbols from inside the i18n library, and to import them from outside.
#define U_NAMESPACE_END
This is used to end a declaration of a public ICU C++ API.
#define U_NAMESPACE_BEGIN
This is used to begin a declaration of a public ICU C++ API.