21#if U_SHOW_CPLUSPLUS_API
25#if !UCONFIG_NO_FORMATTING
49#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.
virtual TimeUnit * clone() const override
Override clone.
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.
UTimeUnitFields getTimeUnitField() const
Get time unit field.
virtual UClassID getDynamicClassID() const override
Returns a unique class ID for this object POLYMORPHICALLY.
C++ API: A unit for measuring a quantity.
void * UClassID
UClassID is used to identify classes without using the compiler's RTTI.
Basic definitions for ICU, for both C and C++ APIs.
UErrorCode
Standard ICU4C error code type, a substitute for exceptions.
#define U_I18N_API
Set to export library symbols from inside the i18n library, and to import them from outside.