class MeasureUnit

Defined at line 405 of file ../../third_party/icu/latest/source/i18n/unicode/measunit.h

A unit such as length, mass, volume, currency, etc. A unit is

coupled with a numeric amount to produce a Measure.

Public Methods

void MeasureUnit ()

Default constructor.

Populates the instance with the base dimensionless unit, which means that there will be

no unit on the formatted number.

ICU 3.0

void MeasureUnit (const MeasureUnit & other)

Copy constructor.

ICU 3.0

void MeasureUnit (MeasureUnit && other)

Move constructor.

ICU 67

MeasureUnit forIdentifier (StringPiece identifier, UErrorCode & status)

Constructs a MeasureUnit from a CLDR Core Unit Identifier, as defined in UTS 35.

This method supports core unit identifiers and mixed unit identifiers.

It validates and canonicalizes the given identifier.

Example usage:

MeasureUnit example = MeasureUnit::forIdentifier("meter-per-second", status);

Parameters

identifier the CLDR Unit Identifier
status Set error if the identifier is invalid.

Returns

the corresponding MeasureUnit

ICU 67

MeasureUnit & operator= (const MeasureUnit & other)

Copy assignment operator.

ICU 3.0

MeasureUnit & operator= (MeasureUnit && other)

Move assignment operator.

ICU 67

MeasureUnit * clone ()

Returns a polymorphic clone of this object. The result will

have the same class as returned by getDynamicClassID().

ICU 3.0

void ~MeasureUnit ()

Destructor

ICU 3.0

bool operator== (const UObject & other)

Equality operator. Return true if this object is equal

to the given object.

ICU 3.0

const char * getType ()

Get the type.

If the unit does not have a type, the empty string is returned.

ICU 53

const char * getSubtype ()

Get the sub type.

If the unit does not have a subtype, the empty string is returned.

ICU 53

const char * getIdentifier ()

Get CLDR Unit Identifier for this MeasureUnit, as defined in UTS 35.

Returns

The string form of this unit, owned by this MeasureUnit.

ICU 67

UMeasureUnitComplexity getComplexity (UErrorCode & status)

Compute the complexity of the unit. See UMeasureUnitComplexity for more information.

Parameters

status Set if an error occurs.

Returns

The unit complexity.

ICU 67

MeasureUnit withPrefix (UMeasurePrefix prefix, UErrorCode & status)

Creates a MeasureUnit which is this SINGLE unit augmented with the specified prefix.

For example, UMEASURE_PREFIX_KILO for "kilo", or UMEASURE_PREFIX_KIBI for "kibi".

There is sufficient locale data to format all standard prefixes.

NOTE: Only works on SINGLE units. If this is a COMPOUND or MIXED unit, an error will

occur. For more information, see UMeasureUnitComplexity.

Parameters

prefix The prefix, from UMeasurePrefix.
status Set if this is not a SINGLE unit or if another error occurs.

Returns

A new SINGLE unit.

ICU 69

UMeasurePrefix getPrefix (UErrorCode & status)

Returns the current SI or binary prefix of this SINGLE unit. For example,

if the unit has the prefix "kilo", then UMEASURE_PREFIX_KILO is

returned.

NOTE: Only works on SINGLE units. If this is a COMPOUND or MIXED unit, an error will

occur. For more information, see UMeasureUnitComplexity.

Parameters

status Set if this is not a SINGLE unit or if another error occurs.

Returns

The prefix of this SINGLE unit, from UMeasurePrefix.

MeasureUnit withConstantDenominator (uint64_t denominator, UErrorCode & status)

Creates a new MeasureUnit with a specified constant denominator.

This method is applicable only to COMPOUND and SINGLE units. If invoked on a

MIXED unit, an error will be set in the status.

NOTE: If the constant denominator is set to 0, it means that you are removing

the constant denominator.

Parameters

denominator The constant denominator to set.
status Set if this is not a COMPOUND or SINGLE unit or if another error occurs.

Returns

A new MeasureUnit with the specified constant denominator.

ICU 77

uint64_t getConstantDenominator (UErrorCode & status)

Retrieves the constant denominator for this COMPOUND unit.

Examples:

- For the unit "liter-per-1000-kiloliter", the constant denominator is 1000.

- For the unit "liter-per-kilometer", the constant denominator is zero.

This method is applicable only to COMPOUND and SINGLE units. If invoked on

a MIXED unit, an error will be set in the status.

NOTE: If no constant denominator exists, the method returns 0.

Parameters

status Set if this is not a COMPOUND or SINGLE unit or if another error occurs.

Returns

The value of the constant denominator.

ICU 77

MeasureUnit withDimensionality (int32_t dimensionality, UErrorCode & status)

Creates a MeasureUnit which is this SINGLE unit augmented with the specified dimensionality

(power). For example, if dimensionality is 2, the unit will be squared.

NOTE: Only works on SINGLE units. If this is a COMPOUND or MIXED unit, an error will

occur. For more information, see UMeasureUnitComplexity.

For the base dimensionless unit, withDimensionality does nothing.

Parameters

dimensionality The dimensionality (power).
status Set if this is not a SINGLE unit or if another error occurs.

Returns

A new SINGLE unit.

ICU 67

int32_t getDimensionality (UErrorCode & status)

Gets the dimensionality (power) of this MeasureUnit. For example, if the unit is square,

then 2 is returned.

NOTE: Only works on SINGLE units. If this is a COMPOUND or MIXED unit, an error will

occur. For more information, see UMeasureUnitComplexity.

For the base dimensionless unit, getDimensionality returns 0.

Parameters

status Set if this is not a SINGLE unit or if another error occurs.

Returns

The dimensionality (power) of this simple unit.

ICU 67

MeasureUnit reciprocal (UErrorCode & status)

Gets the reciprocal of this MeasureUnit, with the numerator and denominator flipped.

For example, if the receiver is "meter-per-second", the unit "second-per-meter" is returned.

NOTE: Only works on SINGLE and COMPOUND units. If this is a MIXED unit, an error will

occur. For more information, see UMeasureUnitComplexity.

NOTE: An Error will be returned for units that have a constant denominator.

Parameters

status Set if this is a MIXED unit, has a constant denominator or if another error occurs.

Returns

The reciprocal of the target unit.

ICU 67

MeasureUnit product (const MeasureUnit & other, UErrorCode & status)

Gets the product of this unit with another unit. This is a way to build units from

constituent parts.

The numerator and denominator are preserved through this operation.

For example, if the receiver is "kilowatt" and the argument is "hour-per-day", then the

unit "kilowatt-hour-per-day" is returned.

NOTE: Only works on SINGLE and COMPOUND units. If either unit (receiver and argument) is a

MIXED unit, an error will occur. For more information, see UMeasureUnitComplexity.

Parameters

other The MeasureUnit to multiply with the target.
status Set if this or other is a MIXED unit or if another error occurs.

Returns

The product of the target unit with the provided unit.

ICU 67

std::pair<LocalArray<MeasureUnit>, int32_t> splitToSingleUnits (UErrorCode & status)

Gets the list of SINGLE units contained within a MIXED or COMPOUND unit.

Examples:

- Given "meter-kilogram-per-second", three units will be returned: "meter",

"kilogram", and "per-second".

- Given "hour+minute+second", three units will be returned: "hour", "minute",

and "second".

If this is a SINGLE unit, an array of length 1 will be returned.

NOTE: For units with a constant denominator, the returned single units will

not include the constant denominator. To obtain the constant denominator,

retrieve it from the original unit.

Parameters

status Set if an error occurs.

Returns

A pair with the list of units as a LocalArray and the number of units in the list.

ICU 68

Defined at line 3940 of file ../../third_party/icu/latest/source/i18n/unicode/measunit.h

int32_t getAvailable (MeasureUnit * destArray, int32_t destCapacity, UErrorCode & errorCode)

getAvailable gets all of the available units.

If there are too many units to fit into destCapacity then the

error code is set to U_BUFFER_OVERFLOW_ERROR.

Parameters

destArray destination buffer.
destCapacity number of MeasureUnit instances available at dest.
errorCode ICU error code.

Returns

number of available units.

ICU 53

int32_t getAvailable (const char * type, MeasureUnit * destArray, int32_t destCapacity, UErrorCode & errorCode)

getAvailable gets all of the available units for a specific type.

If there are too many units to fit into destCapacity then the

error code is set to U_BUFFER_OVERFLOW_ERROR.

Parameters

type the type
destArray destination buffer.
destCapacity number of MeasureUnit instances available at dest.
errorCode ICU error code.

Returns

number of available units for type.

ICU 53

StringEnumeration * getAvailableTypes (UErrorCode & errorCode)

getAvailableTypes gets all of the available types. Caller owns the

returned StringEnumeration and must delete it when finished using it.

Parameters

errorCode ICU error code.

Returns

the types.

ICU 53

UClassID getStaticClassID ()

Return the class ID for this class. This is useful only for comparing to

a return value from getDynamicClassID(). For example:

. Base* polymorphic_pointer = createPolymorphicObject();

. if (polymorphic_pointer->getDynamicClassID() ==

. Derived::getStaticClassID()) ...

Returns

The class ID for all objects of this class.

ICU 53

UClassID getDynamicClassID ()

Returns a unique class ID POLYMORPHICALLY. Pure virtual override. This

method is to implement a simple version of RTTI, since not all C++

compilers support genuine RTTI. Polymorphic operator==() and clone()

methods call this method.

Returns

The class ID for this object. All objects of a

given class have the same class ID. Objects of

other classes have different class IDs.

ICU 53

int32_t getOffset ()

ICU use only.

Returns associated array index for this measure unit.

MeasureUnit * createGForce (UErrorCode & status)

Returns by pointer, unit of acceleration: g-force.

Caller owns returned value and must free it.

Also see {

MeasureUnit getGForce ()

Returns by value, unit of acceleration: g-force.

Also see {

MeasureUnit * createMeterPerSecondSquared (UErrorCode & status)

Returns by pointer, unit of acceleration: meter-per-square-second.

Caller owns returned value and must free it.

Also see {

MeasureUnit getMeterPerSecondSquared ()

Returns by value, unit of acceleration: meter-per-square-second.

Also see {

MeasureUnit * createArcMinute (UErrorCode & status)

Returns by pointer, unit of angle: arc-minute.

Caller owns returned value and must free it.

Also see {

MeasureUnit getArcMinute ()

Returns by value, unit of angle: arc-minute.

Also see {

MeasureUnit * createArcSecond (UErrorCode & status)

Returns by pointer, unit of angle: arc-second.

Caller owns returned value and must free it.

Also see {

MeasureUnit getArcSecond ()

Returns by value, unit of angle: arc-second.

Also see {

MeasureUnit * createDegree (UErrorCode & status)

Returns by pointer, unit of angle: degree.

Caller owns returned value and must free it.

Also see {

MeasureUnit getDegree ()

Returns by value, unit of angle: degree.

Also see {

MeasureUnit * createRadian (UErrorCode & status)

Returns by pointer, unit of angle: radian.

Caller owns returned value and must free it.

Also see {

MeasureUnit getRadian ()

Returns by value, unit of angle: radian.

Also see {

MeasureUnit * createRevolutionAngle (UErrorCode & status)

Returns by pointer, unit of angle: revolution.

Caller owns returned value and must free it.

Also see {

MeasureUnit getRevolutionAngle ()

Returns by value, unit of angle: revolution.

Also see {

MeasureUnit * createAcre (UErrorCode & status)

Returns by pointer, unit of area: acre.

Caller owns returned value and must free it.

Also see {

MeasureUnit getAcre ()

Returns by value, unit of area: acre.

Also see {

MeasureUnit * createDunam (UErrorCode & status)

Returns by pointer, unit of area: dunam.

Caller owns returned value and must free it.

Also see {

MeasureUnit getDunam ()

Returns by value, unit of area: dunam.

Also see {

MeasureUnit * createHectare (UErrorCode & status)

Returns by pointer, unit of area: hectare.

Caller owns returned value and must free it.

Also see {

MeasureUnit getHectare ()

Returns by value, unit of area: hectare.

Also see {

MeasureUnit * createSquareCentimeter (UErrorCode & status)

Returns by pointer, unit of area: square-centimeter.

Caller owns returned value and must free it.

Also see {

MeasureUnit getSquareCentimeter ()

Returns by value, unit of area: square-centimeter.

Also see {

MeasureUnit * createSquareFoot (UErrorCode & status)

Returns by pointer, unit of area: square-foot.

Caller owns returned value and must free it.

Also see {

MeasureUnit getSquareFoot ()

Returns by value, unit of area: square-foot.

Also see {

MeasureUnit * createSquareInch (UErrorCode & status)

Returns by pointer, unit of area: square-inch.

Caller owns returned value and must free it.

Also see {

MeasureUnit getSquareInch ()

Returns by value, unit of area: square-inch.

Also see {

MeasureUnit * createSquareKilometer (UErrorCode & status)

Returns by pointer, unit of area: square-kilometer.

Caller owns returned value and must free it.

Also see {

MeasureUnit getSquareKilometer ()

Returns by value, unit of area: square-kilometer.

Also see {

MeasureUnit * createSquareMeter (UErrorCode & status)

Returns by pointer, unit of area: square-meter.

Caller owns returned value and must free it.

Also see {

MeasureUnit getSquareMeter ()

Returns by value, unit of area: square-meter.

Also see {

MeasureUnit * createSquareMile (UErrorCode & status)

Returns by pointer, unit of area: square-mile.

Caller owns returned value and must free it.

Also see {

MeasureUnit getSquareMile ()

Returns by value, unit of area: square-mile.

Also see {

MeasureUnit * createSquareYard (UErrorCode & status)

Returns by pointer, unit of area: square-yard.

Caller owns returned value and must free it.

Also see {

MeasureUnit getSquareYard ()

Returns by value, unit of area: square-yard.

Also see {

MeasureUnit * createItem (UErrorCode & status)

Returns by pointer, unit of concentr: item.

Caller owns returned value and must free it.

Also see {

MeasureUnit getItem ()

Returns by value, unit of concentr: item.

Also see {

MeasureUnit * createKarat (UErrorCode & status)

Returns by pointer, unit of concentr: karat.

Caller owns returned value and must free it.

Also see {

MeasureUnit getKarat ()

Returns by value, unit of concentr: karat.

Also see {

MeasureUnit * createMilligramOfglucosePerDeciliter (UErrorCode & status)

Returns by pointer, unit of concentr: milligram-ofglucose-per-deciliter.

Caller owns returned value and must free it.

Also see {

MeasureUnit getMilligramOfglucosePerDeciliter ()

Returns by value, unit of concentr: milligram-ofglucose-per-deciliter.

Also see {

MeasureUnit * createMilligramPerDeciliter (UErrorCode & status)

Returns by pointer, unit of concentr: milligram-per-deciliter.

Caller owns returned value and must free it.

Also see {

MeasureUnit getMilligramPerDeciliter ()

Returns by value, unit of concentr: milligram-per-deciliter.

Also see {

MeasureUnit * createMillimolePerLiter (UErrorCode & status)

Returns by pointer, unit of concentr: millimole-per-liter.

Caller owns returned value and must free it.

Also see {

MeasureUnit getMillimolePerLiter ()

Returns by value, unit of concentr: millimole-per-liter.

Also see {

MeasureUnit * createMole (UErrorCode & status)

Returns by pointer, unit of concentr: mole.

Caller owns returned value and must free it.

Also see {

MeasureUnit getMole ()

Returns by value, unit of concentr: mole.

Also see {

MeasureUnit * createPercent (UErrorCode & status)

Returns by pointer, unit of concentr: percent.

Caller owns returned value and must free it.

Also see {

MeasureUnit getPercent ()

Returns by value, unit of concentr: percent.

Also see {

MeasureUnit * createPermille (UErrorCode & status)

Returns by pointer, unit of concentr: permille.

Caller owns returned value and must free it.

Also see {

MeasureUnit getPermille ()

Returns by value, unit of concentr: permille.

Also see {

MeasureUnit * createPartPerMillion (UErrorCode & status)

Returns by pointer, unit of concentr: permillion.

Caller owns returned value and must free it.

Also see {

MeasureUnit getPartPerMillion ()

Returns by value, unit of concentr: permillion.

Also see {

MeasureUnit * createPermyriad (UErrorCode & status)

Returns by pointer, unit of concentr: permyriad.

Caller owns returned value and must free it.

Also see {

MeasureUnit getPermyriad ()

Returns by value, unit of concentr: permyriad.

Also see {

MeasureUnit * createPortionPer1E9 (UErrorCode & status)

Returns by pointer, unit of concentr: portion-per-1e9.

Caller owns returned value and must free it.

Also see {

MeasureUnit getPortionPer1E9 ()

Returns by value, unit of concentr: portion-per-1e9.

Also see {

MeasureUnit * createLiterPer100Kilometers (UErrorCode & status)

Returns by pointer, unit of consumption: liter-per-100-kilometer.

Caller owns returned value and must free it.

Also see {

MeasureUnit getLiterPer100Kilometers ()

Returns by value, unit of consumption: liter-per-100-kilometer.

Also see {

MeasureUnit * createLiterPerKilometer (UErrorCode & status)

Returns by pointer, unit of consumption: liter-per-kilometer.

Caller owns returned value and must free it.

Also see {

MeasureUnit getLiterPerKilometer ()

Returns by value, unit of consumption: liter-per-kilometer.

Also see {

MeasureUnit * createMilePerGallon (UErrorCode & status)

Returns by pointer, unit of consumption: mile-per-gallon.

Caller owns returned value and must free it.

Also see {

MeasureUnit getMilePerGallon ()

Returns by value, unit of consumption: mile-per-gallon.

Also see {

MeasureUnit * createMilePerGallonImperial (UErrorCode & status)

Returns by pointer, unit of consumption: mile-per-gallon-imperial.

Caller owns returned value and must free it.

Also see {

MeasureUnit getMilePerGallonImperial ()

Returns by value, unit of consumption: mile-per-gallon-imperial.

Also see {

MeasureUnit * createBit (UErrorCode & status)

Returns by pointer, unit of digital: bit.

Caller owns returned value and must free it.

Also see {

MeasureUnit getBit ()

Returns by value, unit of digital: bit.

Also see {

MeasureUnit * createByte (UErrorCode & status)

Returns by pointer, unit of digital: byte.

Caller owns returned value and must free it.

Also see {

MeasureUnit getByte ()

Returns by value, unit of digital: byte.

Also see {

MeasureUnit * createGigabit (UErrorCode & status)

Returns by pointer, unit of digital: gigabit.

Caller owns returned value and must free it.

Also see {

MeasureUnit getGigabit ()

Returns by value, unit of digital: gigabit.

Also see {

MeasureUnit * createGigabyte (UErrorCode & status)

Returns by pointer, unit of digital: gigabyte.

Caller owns returned value and must free it.

Also see {

MeasureUnit getGigabyte ()

Returns by value, unit of digital: gigabyte.

Also see {

MeasureUnit * createKilobit (UErrorCode & status)

Returns by pointer, unit of digital: kilobit.

Caller owns returned value and must free it.

Also see {

MeasureUnit getKilobit ()

Returns by value, unit of digital: kilobit.

Also see {

MeasureUnit * createKilobyte (UErrorCode & status)

Returns by pointer, unit of digital: kilobyte.

Caller owns returned value and must free it.

Also see {

MeasureUnit getKilobyte ()

Returns by value, unit of digital: kilobyte.

Also see {

MeasureUnit * createMegabit (UErrorCode & status)

Returns by pointer, unit of digital: megabit.

Caller owns returned value and must free it.

Also see {

MeasureUnit getMegabit ()

Returns by value, unit of digital: megabit.

Also see {

MeasureUnit * createMegabyte (UErrorCode & status)

Returns by pointer, unit of digital: megabyte.

Caller owns returned value and must free it.

Also see {

MeasureUnit getMegabyte ()

Returns by value, unit of digital: megabyte.

Also see {

MeasureUnit * createPetabyte (UErrorCode & status)

Returns by pointer, unit of digital: petabyte.

Caller owns returned value and must free it.

Also see {

MeasureUnit getPetabyte ()

Returns by value, unit of digital: petabyte.

Also see {

MeasureUnit * createTerabit (UErrorCode & status)

Returns by pointer, unit of digital: terabit.

Caller owns returned value and must free it.

Also see {

MeasureUnit getTerabit ()

Returns by value, unit of digital: terabit.

Also see {

MeasureUnit * createTerabyte (UErrorCode & status)

Returns by pointer, unit of digital: terabyte.

Caller owns returned value and must free it.

Also see {

MeasureUnit getTerabyte ()

Returns by value, unit of digital: terabyte.

Also see {

MeasureUnit * createCentury (UErrorCode & status)

Returns by pointer, unit of duration: century.

Caller owns returned value and must free it.

Also see {

MeasureUnit getCentury ()

Returns by value, unit of duration: century.

Also see {

MeasureUnit * createDay (UErrorCode & status)

Returns by pointer, unit of duration: day.

Caller owns returned value and must free it.

Also see {

MeasureUnit getDay ()

Returns by value, unit of duration: day.

Also see {

MeasureUnit * createDayPerson (UErrorCode & status)

Returns by pointer, unit of duration: day-person.

Caller owns returned value and must free it.

Also see {

MeasureUnit getDayPerson ()

Returns by value, unit of duration: day-person.

Also see {

MeasureUnit * createDecade (UErrorCode & status)

Returns by pointer, unit of duration: decade.

Caller owns returned value and must free it.

Also see {

MeasureUnit getDecade ()

Returns by value, unit of duration: decade.

Also see {

MeasureUnit * createHour (UErrorCode & status)

Returns by pointer, unit of duration: hour.

Caller owns returned value and must free it.

Also see {

MeasureUnit getHour ()

Returns by value, unit of duration: hour.

Also see {

MeasureUnit * createMicrosecond (UErrorCode & status)

Returns by pointer, unit of duration: microsecond.

Caller owns returned value and must free it.

Also see {

MeasureUnit getMicrosecond ()

Returns by value, unit of duration: microsecond.

Also see {

MeasureUnit * createMillisecond (UErrorCode & status)

Returns by pointer, unit of duration: millisecond.

Caller owns returned value and must free it.

Also see {

MeasureUnit getMillisecond ()

Returns by value, unit of duration: millisecond.

Also see {

MeasureUnit * createMinute (UErrorCode & status)

Returns by pointer, unit of duration: minute.

Caller owns returned value and must free it.

Also see {

MeasureUnit getMinute ()

Returns by value, unit of duration: minute.

Also see {

MeasureUnit * createMonth (UErrorCode & status)

Returns by pointer, unit of duration: month.

Caller owns returned value and must free it.

Also see {

MeasureUnit getMonth ()

Returns by value, unit of duration: month.

Also see {

MeasureUnit * createMonthPerson (UErrorCode & status)

Returns by pointer, unit of duration: month-person.

Caller owns returned value and must free it.

Also see {

MeasureUnit getMonthPerson ()

Returns by value, unit of duration: month-person.

Also see {

MeasureUnit * createNanosecond (UErrorCode & status)

Returns by pointer, unit of duration: nanosecond.

Caller owns returned value and must free it.

Also see {

MeasureUnit getNanosecond ()

Returns by value, unit of duration: nanosecond.

Also see {

MeasureUnit * createNight (UErrorCode & status)

Returns by pointer, unit of duration: night.

Caller owns returned value and must free it.

Also see {

MeasureUnit getNight ()

Returns by value, unit of duration: night.

Also see {

MeasureUnit * createQuarter (UErrorCode & status)

Returns by pointer, unit of duration: quarter.

Caller owns returned value and must free it.

Also see {

MeasureUnit getQuarter ()

Returns by value, unit of duration: quarter.

Also see {

MeasureUnit * createSecond (UErrorCode & status)

Returns by pointer, unit of duration: second.

Caller owns returned value and must free it.

Also see {

MeasureUnit getSecond ()

Returns by value, unit of duration: second.

Also see {

MeasureUnit * createWeek (UErrorCode & status)

Returns by pointer, unit of duration: week.

Caller owns returned value and must free it.

Also see {

MeasureUnit getWeek ()

Returns by value, unit of duration: week.

Also see {

MeasureUnit * createWeekPerson (UErrorCode & status)

Returns by pointer, unit of duration: week-person.

Caller owns returned value and must free it.

Also see {

MeasureUnit getWeekPerson ()

Returns by value, unit of duration: week-person.

Also see {

MeasureUnit * createYear (UErrorCode & status)

Returns by pointer, unit of duration: year.

Caller owns returned value and must free it.

Also see {

MeasureUnit getYear ()

Returns by value, unit of duration: year.

Also see {

MeasureUnit * createYearPerson (UErrorCode & status)

Returns by pointer, unit of duration: year-person.

Caller owns returned value and must free it.

Also see {

MeasureUnit getYearPerson ()

Returns by value, unit of duration: year-person.

Also see {

MeasureUnit * createAmpere (UErrorCode & status)

Returns by pointer, unit of electric: ampere.

Caller owns returned value and must free it.

Also see {

MeasureUnit getAmpere ()

Returns by value, unit of electric: ampere.

Also see {

MeasureUnit * createMilliampere (UErrorCode & status)

Returns by pointer, unit of electric: milliampere.

Caller owns returned value and must free it.

Also see {

MeasureUnit getMilliampere ()

Returns by value, unit of electric: milliampere.

Also see {

MeasureUnit * createOhm (UErrorCode & status)

Returns by pointer, unit of electric: ohm.

Caller owns returned value and must free it.

Also see {

MeasureUnit getOhm ()

Returns by value, unit of electric: ohm.

Also see {

MeasureUnit * createVolt (UErrorCode & status)

Returns by pointer, unit of electric: volt.

Caller owns returned value and must free it.

Also see {

MeasureUnit getVolt ()

Returns by value, unit of electric: volt.

Also see {

MeasureUnit * createBritishThermalUnit (UErrorCode & status)

Returns by pointer, unit of energy: british-thermal-unit.

Caller owns returned value and must free it.

Also see {

MeasureUnit getBritishThermalUnit ()

Returns by value, unit of energy: british-thermal-unit.

Also see {

MeasureUnit * createCalorie (UErrorCode & status)

Returns by pointer, unit of energy: calorie.

Caller owns returned value and must free it.

Also see {

MeasureUnit getCalorie ()

Returns by value, unit of energy: calorie.

Also see {

MeasureUnit * createElectronvolt (UErrorCode & status)

Returns by pointer, unit of energy: electronvolt.

Caller owns returned value and must free it.

Also see {

MeasureUnit getElectronvolt ()

Returns by value, unit of energy: electronvolt.

Also see {

MeasureUnit * createFoodcalorie (UErrorCode & status)

Returns by pointer, unit of energy: foodcalorie.

Caller owns returned value and must free it.

Also see {

MeasureUnit getFoodcalorie ()

Returns by value, unit of energy: foodcalorie.

Also see {

MeasureUnit * createJoule (UErrorCode & status)

Returns by pointer, unit of energy: joule.

Caller owns returned value and must free it.

Also see {

MeasureUnit getJoule ()

Returns by value, unit of energy: joule.

Also see {

MeasureUnit * createKilocalorie (UErrorCode & status)

Returns by pointer, unit of energy: kilocalorie.

Caller owns returned value and must free it.

Also see {

MeasureUnit getKilocalorie ()

Returns by value, unit of energy: kilocalorie.

Also see {

MeasureUnit * createKilojoule (UErrorCode & status)

Returns by pointer, unit of energy: kilojoule.

Caller owns returned value and must free it.

Also see {

MeasureUnit getKilojoule ()

Returns by value, unit of energy: kilojoule.

Also see {

MeasureUnit * createKilowattHour (UErrorCode & status)

Returns by pointer, unit of energy: kilowatt-hour.

Caller owns returned value and must free it.

Also see {

MeasureUnit getKilowattHour ()

Returns by value, unit of energy: kilowatt-hour.

Also see {

MeasureUnit * createThermUs (UErrorCode & status)

Returns by pointer, unit of energy: therm-us.

Caller owns returned value and must free it.

Also see {

MeasureUnit getThermUs ()

Returns by value, unit of energy: therm-us.

Also see {

MeasureUnit * createKilowattHourPer100Kilometer (UErrorCode & status)

Returns by pointer, unit of force: kilowatt-hour-per-100-kilometer.

Caller owns returned value and must free it.

Also see {

MeasureUnit getKilowattHourPer100Kilometer ()

Returns by value, unit of force: kilowatt-hour-per-100-kilometer.

Also see {

MeasureUnit * createNewton (UErrorCode & status)

Returns by pointer, unit of force: newton.

Caller owns returned value and must free it.

Also see {

MeasureUnit getNewton ()

Returns by value, unit of force: newton.

Also see {

MeasureUnit * createPoundForce (UErrorCode & status)

Returns by pointer, unit of force: pound-force.

Caller owns returned value and must free it.

Also see {

MeasureUnit getPoundForce ()

Returns by value, unit of force: pound-force.

Also see {

MeasureUnit * createGigahertz (UErrorCode & status)

Returns by pointer, unit of frequency: gigahertz.

Caller owns returned value and must free it.

Also see {

MeasureUnit getGigahertz ()

Returns by value, unit of frequency: gigahertz.

Also see {

MeasureUnit * createHertz (UErrorCode & status)

Returns by pointer, unit of frequency: hertz.

Caller owns returned value and must free it.

Also see {

MeasureUnit getHertz ()

Returns by value, unit of frequency: hertz.

Also see {

MeasureUnit * createKilohertz (UErrorCode & status)

Returns by pointer, unit of frequency: kilohertz.

Caller owns returned value and must free it.

Also see {

MeasureUnit getKilohertz ()

Returns by value, unit of frequency: kilohertz.

Also see {

MeasureUnit * createMegahertz (UErrorCode & status)

Returns by pointer, unit of frequency: megahertz.

Caller owns returned value and must free it.

Also see {

MeasureUnit getMegahertz ()

Returns by value, unit of frequency: megahertz.

Also see {

MeasureUnit * createDot (UErrorCode & status)

Returns by pointer, unit of graphics: dot.

Caller owns returned value and must free it.

Also see {

MeasureUnit getDot ()

Returns by value, unit of graphics: dot.

Also see {

MeasureUnit * createDotPerCentimeter (UErrorCode & status)

Returns by pointer, unit of graphics: dot-per-centimeter.

Caller owns returned value and must free it.

Also see {

MeasureUnit getDotPerCentimeter ()

Returns by value, unit of graphics: dot-per-centimeter.

Also see {

MeasureUnit * createDotPerInch (UErrorCode & status)

Returns by pointer, unit of graphics: dot-per-inch.

Caller owns returned value and must free it.

Also see {

MeasureUnit getDotPerInch ()

Returns by value, unit of graphics: dot-per-inch.

Also see {

MeasureUnit * createEm (UErrorCode & status)

Returns by pointer, unit of graphics: em.

Caller owns returned value and must free it.

Also see {

MeasureUnit getEm ()

Returns by value, unit of graphics: em.

Also see {

MeasureUnit * createMegapixel (UErrorCode & status)

Returns by pointer, unit of graphics: megapixel.

Caller owns returned value and must free it.

Also see {

MeasureUnit getMegapixel ()

Returns by value, unit of graphics: megapixel.

Also see {

MeasureUnit * createPixel (UErrorCode & status)

Returns by pointer, unit of graphics: pixel.

Caller owns returned value and must free it.

Also see {

MeasureUnit getPixel ()

Returns by value, unit of graphics: pixel.

Also see {

MeasureUnit * createPixelPerCentimeter (UErrorCode & status)

Returns by pointer, unit of graphics: pixel-per-centimeter.

Caller owns returned value and must free it.

Also see {

MeasureUnit getPixelPerCentimeter ()

Returns by value, unit of graphics: pixel-per-centimeter.

Also see {

MeasureUnit * createPixelPerInch (UErrorCode & status)

Returns by pointer, unit of graphics: pixel-per-inch.

Caller owns returned value and must free it.

Also see {

MeasureUnit getPixelPerInch ()

Returns by value, unit of graphics: pixel-per-inch.

Also see {

MeasureUnit * createAstronomicalUnit (UErrorCode & status)

Returns by pointer, unit of length: astronomical-unit.

Caller owns returned value and must free it.

Also see {

MeasureUnit getAstronomicalUnit ()

Returns by value, unit of length: astronomical-unit.

Also see {

MeasureUnit * createCentimeter (UErrorCode & status)

Returns by pointer, unit of length: centimeter.

Caller owns returned value and must free it.

Also see {

MeasureUnit getCentimeter ()

Returns by value, unit of length: centimeter.

Also see {

MeasureUnit * createDecimeter (UErrorCode & status)

Returns by pointer, unit of length: decimeter.

Caller owns returned value and must free it.

Also see {

MeasureUnit getDecimeter ()

Returns by value, unit of length: decimeter.

Also see {

MeasureUnit * createEarthRadius (UErrorCode & status)

Returns by pointer, unit of length: earth-radius.

Caller owns returned value and must free it.

Also see {

MeasureUnit getEarthRadius ()

Returns by value, unit of length: earth-radius.

Also see {

MeasureUnit * createFathom (UErrorCode & status)

Returns by pointer, unit of length: fathom.

Caller owns returned value and must free it.

Also see {

MeasureUnit getFathom ()

Returns by value, unit of length: fathom.

Also see {

MeasureUnit * createFoot (UErrorCode & status)

Returns by pointer, unit of length: foot.

Caller owns returned value and must free it.

Also see {

MeasureUnit getFoot ()

Returns by value, unit of length: foot.

Also see {

MeasureUnit * createFurlong (UErrorCode & status)

Returns by pointer, unit of length: furlong.

Caller owns returned value and must free it.

Also see {

MeasureUnit getFurlong ()

Returns by value, unit of length: furlong.

Also see {

MeasureUnit * createInch (UErrorCode & status)

Returns by pointer, unit of length: inch.

Caller owns returned value and must free it.

Also see {

MeasureUnit getInch ()

Returns by value, unit of length: inch.

Also see {

MeasureUnit * createKilometer (UErrorCode & status)

Returns by pointer, unit of length: kilometer.

Caller owns returned value and must free it.

Also see {

MeasureUnit getKilometer ()

Returns by value, unit of length: kilometer.

Also see {

MeasureUnit * createLightYear (UErrorCode & status)

Returns by pointer, unit of length: light-year.

Caller owns returned value and must free it.

Also see {

MeasureUnit getLightYear ()

Returns by value, unit of length: light-year.

Also see {

MeasureUnit * createMeter (UErrorCode & status)

Returns by pointer, unit of length: meter.

Caller owns returned value and must free it.

Also see {

MeasureUnit getMeter ()

Returns by value, unit of length: meter.

Also see {

MeasureUnit * createMicrometer (UErrorCode & status)

Returns by pointer, unit of length: micrometer.

Caller owns returned value and must free it.

Also see {

MeasureUnit getMicrometer ()

Returns by value, unit of length: micrometer.

Also see {

MeasureUnit * createMile (UErrorCode & status)

Returns by pointer, unit of length: mile.

Caller owns returned value and must free it.

Also see {

MeasureUnit getMile ()

Returns by value, unit of length: mile.

Also see {

MeasureUnit * createMileScandinavian (UErrorCode & status)

Returns by pointer, unit of length: mile-scandinavian.

Caller owns returned value and must free it.

Also see {

MeasureUnit getMileScandinavian ()

Returns by value, unit of length: mile-scandinavian.

Also see {

MeasureUnit * createMillimeter (UErrorCode & status)

Returns by pointer, unit of length: millimeter.

Caller owns returned value and must free it.

Also see {

MeasureUnit getMillimeter ()

Returns by value, unit of length: millimeter.

Also see {

MeasureUnit * createNanometer (UErrorCode & status)

Returns by pointer, unit of length: nanometer.

Caller owns returned value and must free it.

Also see {

MeasureUnit getNanometer ()

Returns by value, unit of length: nanometer.

Also see {

MeasureUnit * createNauticalMile (UErrorCode & status)

Returns by pointer, unit of length: nautical-mile.

Caller owns returned value and must free it.

Also see {

MeasureUnit getNauticalMile ()

Returns by value, unit of length: nautical-mile.

Also see {

MeasureUnit * createParsec (UErrorCode & status)

Returns by pointer, unit of length: parsec.

Caller owns returned value and must free it.

Also see {

MeasureUnit getParsec ()

Returns by value, unit of length: parsec.

Also see {

MeasureUnit * createPicometer (UErrorCode & status)

Returns by pointer, unit of length: picometer.

Caller owns returned value and must free it.

Also see {

MeasureUnit getPicometer ()

Returns by value, unit of length: picometer.

Also see {

MeasureUnit * createPoint (UErrorCode & status)

Returns by pointer, unit of length: point.

Caller owns returned value and must free it.

Also see {

MeasureUnit getPoint ()

Returns by value, unit of length: point.

Also see {

MeasureUnit * createSolarRadius (UErrorCode & status)

Returns by pointer, unit of length: solar-radius.

Caller owns returned value and must free it.

Also see {

MeasureUnit getSolarRadius ()

Returns by value, unit of length: solar-radius.

Also see {

MeasureUnit * createYard (UErrorCode & status)

Returns by pointer, unit of length: yard.

Caller owns returned value and must free it.

Also see {

MeasureUnit getYard ()

Returns by value, unit of length: yard.

Also see {

MeasureUnit * createCandela (UErrorCode & status)

Returns by pointer, unit of light: candela.

Caller owns returned value and must free it.

Also see {

MeasureUnit getCandela ()

Returns by value, unit of light: candela.

Also see {

MeasureUnit * createLumen (UErrorCode & status)

Returns by pointer, unit of light: lumen.

Caller owns returned value and must free it.

Also see {

MeasureUnit getLumen ()

Returns by value, unit of light: lumen.

Also see {

MeasureUnit * createLux (UErrorCode & status)

Returns by pointer, unit of light: lux.

Caller owns returned value and must free it.

Also see {

MeasureUnit getLux ()

Returns by value, unit of light: lux.

Also see {

MeasureUnit * createSolarLuminosity (UErrorCode & status)

Returns by pointer, unit of light: solar-luminosity.

Caller owns returned value and must free it.

Also see {

MeasureUnit getSolarLuminosity ()

Returns by value, unit of light: solar-luminosity.

Also see {

MeasureUnit * createCarat (UErrorCode & status)

Returns by pointer, unit of mass: carat.

Caller owns returned value and must free it.

Also see {

MeasureUnit getCarat ()

Returns by value, unit of mass: carat.

Also see {

MeasureUnit * createDalton (UErrorCode & status)

Returns by pointer, unit of mass: dalton.

Caller owns returned value and must free it.

Also see {

MeasureUnit getDalton ()

Returns by value, unit of mass: dalton.

Also see {

MeasureUnit * createEarthMass (UErrorCode & status)

Returns by pointer, unit of mass: earth-mass.

Caller owns returned value and must free it.

Also see {

MeasureUnit getEarthMass ()

Returns by value, unit of mass: earth-mass.

Also see {

MeasureUnit * createGrain (UErrorCode & status)

Returns by pointer, unit of mass: grain.

Caller owns returned value and must free it.

Also see {

MeasureUnit getGrain ()

Returns by value, unit of mass: grain.

Also see {

MeasureUnit * createGram (UErrorCode & status)

Returns by pointer, unit of mass: gram.

Caller owns returned value and must free it.

Also see {

MeasureUnit getGram ()

Returns by value, unit of mass: gram.

Also see {

MeasureUnit * createKilogram (UErrorCode & status)

Returns by pointer, unit of mass: kilogram.

Caller owns returned value and must free it.

Also see {

MeasureUnit getKilogram ()

Returns by value, unit of mass: kilogram.

Also see {

MeasureUnit * createMicrogram (UErrorCode & status)

Returns by pointer, unit of mass: microgram.

Caller owns returned value and must free it.

Also see {

MeasureUnit getMicrogram ()

Returns by value, unit of mass: microgram.

Also see {

MeasureUnit * createMilligram (UErrorCode & status)

Returns by pointer, unit of mass: milligram.

Caller owns returned value and must free it.

Also see {

MeasureUnit getMilligram ()

Returns by value, unit of mass: milligram.

Also see {

MeasureUnit * createOunce (UErrorCode & status)

Returns by pointer, unit of mass: ounce.

Caller owns returned value and must free it.

Also see {

MeasureUnit getOunce ()

Returns by value, unit of mass: ounce.

Also see {

MeasureUnit * createOunceTroy (UErrorCode & status)

Returns by pointer, unit of mass: ounce-troy.

Caller owns returned value and must free it.

Also see {

MeasureUnit getOunceTroy ()

Returns by value, unit of mass: ounce-troy.

Also see {

MeasureUnit * createPound (UErrorCode & status)

Returns by pointer, unit of mass: pound.

Caller owns returned value and must free it.

Also see {

MeasureUnit getPound ()

Returns by value, unit of mass: pound.

Also see {

MeasureUnit * createSolarMass (UErrorCode & status)

Returns by pointer, unit of mass: solar-mass.

Caller owns returned value and must free it.

Also see {

MeasureUnit getSolarMass ()

Returns by value, unit of mass: solar-mass.

Also see {

MeasureUnit * createStone (UErrorCode & status)

Returns by pointer, unit of mass: stone.

Caller owns returned value and must free it.

Also see {

MeasureUnit getStone ()

Returns by value, unit of mass: stone.

Also see {

MeasureUnit * createTon (UErrorCode & status)

Returns by pointer, unit of mass: ton.

Caller owns returned value and must free it.

Also see {

MeasureUnit getTon ()

Returns by value, unit of mass: ton.

Also see {

MeasureUnit * createTonne (UErrorCode & status)

Returns by pointer, unit of mass: tonne.

Caller owns returned value and must free it.

Also see {

MeasureUnit getTonne ()

Returns by value, unit of mass: tonne.

Also see {

MeasureUnit * createMetricTon (UErrorCode & status)

Returns by pointer, unit of mass: metric-ton

(renamed to tonne in CLDR 42 / ICU 72).

Caller owns returned value and must free it.

Note: In ICU 74 this will be deprecated in favor of

createTonne(), which is currently draft but will

become stable in ICU 74, and which uses the preferred naming.

Also see {

MeasureUnit getMetricTon ()

Returns by value, unit of mass: metric-ton

(renamed to tonne in CLDR 42 / ICU 72).

Note: In ICU 74 this will be deprecated in favor of

getTonne(), which is currently draft but will

become stable in ICU 74, and which uses the preferred naming.

Also see {

MeasureUnit * createGigawatt (UErrorCode & status)

Returns by pointer, unit of power: gigawatt.

Caller owns returned value and must free it.

Also see {

MeasureUnit getGigawatt ()

Returns by value, unit of power: gigawatt.

Also see {

MeasureUnit * createHorsepower (UErrorCode & status)

Returns by pointer, unit of power: horsepower.

Caller owns returned value and must free it.

Also see {

MeasureUnit getHorsepower ()

Returns by value, unit of power: horsepower.

Also see {

MeasureUnit * createKilowatt (UErrorCode & status)

Returns by pointer, unit of power: kilowatt.

Caller owns returned value and must free it.

Also see {

MeasureUnit getKilowatt ()

Returns by value, unit of power: kilowatt.

Also see {

MeasureUnit * createMegawatt (UErrorCode & status)

Returns by pointer, unit of power: megawatt.

Caller owns returned value and must free it.

Also see {

MeasureUnit getMegawatt ()

Returns by value, unit of power: megawatt.

Also see {

MeasureUnit * createMilliwatt (UErrorCode & status)

Returns by pointer, unit of power: milliwatt.

Caller owns returned value and must free it.

Also see {

MeasureUnit getMilliwatt ()

Returns by value, unit of power: milliwatt.

Also see {

MeasureUnit * createWatt (UErrorCode & status)

Returns by pointer, unit of power: watt.

Caller owns returned value and must free it.

Also see {

MeasureUnit getWatt ()

Returns by value, unit of power: watt.

Also see {

MeasureUnit * createAtmosphere (UErrorCode & status)

Returns by pointer, unit of pressure: atmosphere.

Caller owns returned value and must free it.

Also see {

MeasureUnit getAtmosphere ()

Returns by value, unit of pressure: atmosphere.

Also see {

MeasureUnit * createBar (UErrorCode & status)

Returns by pointer, unit of pressure: bar.

Caller owns returned value and must free it.

Also see {

MeasureUnit getBar ()

Returns by value, unit of pressure: bar.

Also see {

MeasureUnit * createGasolineEnergyDensity (UErrorCode & status)

Returns by pointer, unit of pressure: gasoline-energy-density.

Caller owns returned value and must free it.

Also see {

MeasureUnit getGasolineEnergyDensity ()

Returns by value, unit of pressure: gasoline-energy-density.

Also see {

MeasureUnit * createHectopascal (UErrorCode & status)

Returns by pointer, unit of pressure: hectopascal.

Caller owns returned value and must free it.

Also see {

MeasureUnit getHectopascal ()

Returns by value, unit of pressure: hectopascal.

Also see {

MeasureUnit * createInchHg (UErrorCode & status)

Returns by pointer, unit of pressure: inch-ofhg.

Caller owns returned value and must free it.

Also see {

MeasureUnit getInchHg ()

Returns by value, unit of pressure: inch-ofhg.

Also see {

MeasureUnit * createKilopascal (UErrorCode & status)

Returns by pointer, unit of pressure: kilopascal.

Caller owns returned value and must free it.

Also see {

MeasureUnit getKilopascal ()

Returns by value, unit of pressure: kilopascal.

Also see {

MeasureUnit * createMegapascal (UErrorCode & status)

Returns by pointer, unit of pressure: megapascal.

Caller owns returned value and must free it.

Also see {

MeasureUnit getMegapascal ()

Returns by value, unit of pressure: megapascal.

Also see {

MeasureUnit * createMillibar (UErrorCode & status)

Returns by pointer, unit of pressure: millibar.

Caller owns returned value and must free it.

Also see {

MeasureUnit getMillibar ()

Returns by value, unit of pressure: millibar.

Also see {

MeasureUnit * createMillimeterOfMercury (UErrorCode & status)

Returns by pointer, unit of pressure: millimeter-ofhg.

Caller owns returned value and must free it.

Also see {

MeasureUnit getMillimeterOfMercury ()

Returns by value, unit of pressure: millimeter-ofhg.

Also see {

MeasureUnit * createPascal (UErrorCode & status)

Returns by pointer, unit of pressure: pascal.

Caller owns returned value and must free it.

Also see {

MeasureUnit getPascal ()

Returns by value, unit of pressure: pascal.

Also see {

MeasureUnit * createPoundPerSquareInch (UErrorCode & status)

Returns by pointer, unit of pressure: pound-force-per-square-inch.

Caller owns returned value and must free it.

Also see {

MeasureUnit getPoundPerSquareInch ()

Returns by value, unit of pressure: pound-force-per-square-inch.

Also see {

MeasureUnit * createBeaufort (UErrorCode & status)

Returns by pointer, unit of speed: beaufort.

Caller owns returned value and must free it.

Also see {

MeasureUnit getBeaufort ()

Returns by value, unit of speed: beaufort.

Also see {

MeasureUnit * createKilometerPerHour (UErrorCode & status)

Returns by pointer, unit of speed: kilometer-per-hour.

Caller owns returned value and must free it.

Also see {

MeasureUnit getKilometerPerHour ()

Returns by value, unit of speed: kilometer-per-hour.

Also see {

MeasureUnit * createKnot (UErrorCode & status)

Returns by pointer, unit of speed: knot.

Caller owns returned value and must free it.

Also see {

MeasureUnit getKnot ()

Returns by value, unit of speed: knot.

Also see {

MeasureUnit * createLightSpeed (UErrorCode & status)

Returns by pointer, unit of speed: light-speed.

Caller owns returned value and must free it.

Also see {

MeasureUnit getLightSpeed ()

Returns by value, unit of speed: light-speed.

Also see {

MeasureUnit * createMeterPerSecond (UErrorCode & status)

Returns by pointer, unit of speed: meter-per-second.

Caller owns returned value and must free it.

Also see {

MeasureUnit getMeterPerSecond ()

Returns by value, unit of speed: meter-per-second.

Also see {

MeasureUnit * createMilePerHour (UErrorCode & status)

Returns by pointer, unit of speed: mile-per-hour.

Caller owns returned value and must free it.

Also see {

MeasureUnit getMilePerHour ()

Returns by value, unit of speed: mile-per-hour.

Also see {

MeasureUnit * createCelsius (UErrorCode & status)

Returns by pointer, unit of temperature: celsius.

Caller owns returned value and must free it.

Also see {

MeasureUnit getCelsius ()

Returns by value, unit of temperature: celsius.

Also see {

MeasureUnit * createFahrenheit (UErrorCode & status)

Returns by pointer, unit of temperature: fahrenheit.

Caller owns returned value and must free it.

Also see {

MeasureUnit getFahrenheit ()

Returns by value, unit of temperature: fahrenheit.

Also see {

MeasureUnit * createGenericTemperature (UErrorCode & status)

Returns by pointer, unit of temperature: generic.

Caller owns returned value and must free it.

Also see {

MeasureUnit getGenericTemperature ()

Returns by value, unit of temperature: generic.

Also see {

MeasureUnit * createKelvin (UErrorCode & status)

Returns by pointer, unit of temperature: kelvin.

Caller owns returned value and must free it.

Also see {

MeasureUnit getKelvin ()

Returns by value, unit of temperature: kelvin.

Also see {

MeasureUnit * createNewtonMeter (UErrorCode & status)

Returns by pointer, unit of torque: newton-meter.

Caller owns returned value and must free it.

Also see {

MeasureUnit getNewtonMeter ()

Returns by value, unit of torque: newton-meter.

Also see {

MeasureUnit * createPoundFoot (UErrorCode & status)

Returns by pointer, unit of torque: pound-force-foot.

Caller owns returned value and must free it.

Also see {

MeasureUnit getPoundFoot ()

Returns by value, unit of torque: pound-force-foot.

Also see {

MeasureUnit * createAcreFoot (UErrorCode & status)

Returns by pointer, unit of volume: acre-foot.

Caller owns returned value and must free it.

Also see {

MeasureUnit getAcreFoot ()

Returns by value, unit of volume: acre-foot.

Also see {

MeasureUnit * createBarrel (UErrorCode & status)

Returns by pointer, unit of volume: barrel.

Caller owns returned value and must free it.

Also see {

MeasureUnit getBarrel ()

Returns by value, unit of volume: barrel.

Also see {

MeasureUnit * createBushel (UErrorCode & status)

Returns by pointer, unit of volume: bushel.

Caller owns returned value and must free it.

Also see {

MeasureUnit getBushel ()

Returns by value, unit of volume: bushel.

Also see {

MeasureUnit * createCentiliter (UErrorCode & status)

Returns by pointer, unit of volume: centiliter.

Caller owns returned value and must free it.

Also see {

MeasureUnit getCentiliter ()

Returns by value, unit of volume: centiliter.

Also see {

MeasureUnit * createCubicCentimeter (UErrorCode & status)

Returns by pointer, unit of volume: cubic-centimeter.

Caller owns returned value and must free it.

Also see {

MeasureUnit getCubicCentimeter ()

Returns by value, unit of volume: cubic-centimeter.

Also see {

MeasureUnit * createCubicFoot (UErrorCode & status)

Returns by pointer, unit of volume: cubic-foot.

Caller owns returned value and must free it.

Also see {

MeasureUnit getCubicFoot ()

Returns by value, unit of volume: cubic-foot.

Also see {

MeasureUnit * createCubicInch (UErrorCode & status)

Returns by pointer, unit of volume: cubic-inch.

Caller owns returned value and must free it.

Also see {

MeasureUnit getCubicInch ()

Returns by value, unit of volume: cubic-inch.

Also see {

MeasureUnit * createCubicKilometer (UErrorCode & status)

Returns by pointer, unit of volume: cubic-kilometer.

Caller owns returned value and must free it.

Also see {

MeasureUnit getCubicKilometer ()

Returns by value, unit of volume: cubic-kilometer.

Also see {

MeasureUnit * createCubicMeter (UErrorCode & status)

Returns by pointer, unit of volume: cubic-meter.

Caller owns returned value and must free it.

Also see {

MeasureUnit getCubicMeter ()

Returns by value, unit of volume: cubic-meter.

Also see {

MeasureUnit * createCubicMile (UErrorCode & status)

Returns by pointer, unit of volume: cubic-mile.

Caller owns returned value and must free it.

Also see {

MeasureUnit getCubicMile ()

Returns by value, unit of volume: cubic-mile.

Also see {

MeasureUnit * createCubicYard (UErrorCode & status)

Returns by pointer, unit of volume: cubic-yard.

Caller owns returned value and must free it.

Also see {

MeasureUnit getCubicYard ()

Returns by value, unit of volume: cubic-yard.

Also see {

MeasureUnit * createCup (UErrorCode & status)

Returns by pointer, unit of volume: cup.

Caller owns returned value and must free it.

Also see {

MeasureUnit getCup ()

Returns by value, unit of volume: cup.

Also see {

MeasureUnit * createCupMetric (UErrorCode & status)

Returns by pointer, unit of volume: cup-metric.

Caller owns returned value and must free it.

Also see {

MeasureUnit getCupMetric ()

Returns by value, unit of volume: cup-metric.

Also see {

MeasureUnit * createDeciliter (UErrorCode & status)

Returns by pointer, unit of volume: deciliter.

Caller owns returned value and must free it.

Also see {

MeasureUnit getDeciliter ()

Returns by value, unit of volume: deciliter.

Also see {

MeasureUnit * createDessertSpoon (UErrorCode & status)

Returns by pointer, unit of volume: dessert-spoon.

Caller owns returned value and must free it.

Also see {

MeasureUnit getDessertSpoon ()

Returns by value, unit of volume: dessert-spoon.

Also see {

MeasureUnit * createDessertSpoonImperial (UErrorCode & status)

Returns by pointer, unit of volume: dessert-spoon-imperial.

Caller owns returned value and must free it.

Also see {

MeasureUnit getDessertSpoonImperial ()

Returns by value, unit of volume: dessert-spoon-imperial.

Also see {

MeasureUnit * createDram (UErrorCode & status)

Returns by pointer, unit of volume: dram.

Caller owns returned value and must free it.

Also see {

MeasureUnit getDram ()

Returns by value, unit of volume: dram.

Also see {

MeasureUnit * createDrop (UErrorCode & status)

Returns by pointer, unit of volume: drop.

Caller owns returned value and must free it.

Also see {

MeasureUnit getDrop ()

Returns by value, unit of volume: drop.

Also see {

MeasureUnit * createFluidOunce (UErrorCode & status)

Returns by pointer, unit of volume: fluid-ounce.

Caller owns returned value and must free it.

Also see {

MeasureUnit getFluidOunce ()

Returns by value, unit of volume: fluid-ounce.

Also see {

MeasureUnit * createFluidOunceImperial (UErrorCode & status)

Returns by pointer, unit of volume: fluid-ounce-imperial.

Caller owns returned value and must free it.

Also see {

MeasureUnit getFluidOunceImperial ()

Returns by value, unit of volume: fluid-ounce-imperial.

Also see {

MeasureUnit * createGallon (UErrorCode & status)

Returns by pointer, unit of volume: gallon.

Caller owns returned value and must free it.

Also see {

MeasureUnit getGallon ()

Returns by value, unit of volume: gallon.

Also see {

MeasureUnit * createGallonImperial (UErrorCode & status)

Returns by pointer, unit of volume: gallon-imperial.

Caller owns returned value and must free it.

Also see {

MeasureUnit getGallonImperial ()

Returns by value, unit of volume: gallon-imperial.

Also see {

MeasureUnit * createHectoliter (UErrorCode & status)

Returns by pointer, unit of volume: hectoliter.

Caller owns returned value and must free it.

Also see {

MeasureUnit getHectoliter ()

Returns by value, unit of volume: hectoliter.

Also see {

MeasureUnit * createJigger (UErrorCode & status)

Returns by pointer, unit of volume: jigger.

Caller owns returned value and must free it.

Also see {

MeasureUnit getJigger ()

Returns by value, unit of volume: jigger.

Also see {

MeasureUnit * createLiter (UErrorCode & status)

Returns by pointer, unit of volume: liter.

Caller owns returned value and must free it.

Also see {

MeasureUnit getLiter ()

Returns by value, unit of volume: liter.

Also see {

MeasureUnit * createMegaliter (UErrorCode & status)

Returns by pointer, unit of volume: megaliter.

Caller owns returned value and must free it.

Also see {

MeasureUnit getMegaliter ()

Returns by value, unit of volume: megaliter.

Also see {

MeasureUnit * createMilliliter (UErrorCode & status)

Returns by pointer, unit of volume: milliliter.

Caller owns returned value and must free it.

Also see {

MeasureUnit getMilliliter ()

Returns by value, unit of volume: milliliter.

Also see {

MeasureUnit * createPinch (UErrorCode & status)

Returns by pointer, unit of volume: pinch.

Caller owns returned value and must free it.

Also see {

MeasureUnit getPinch ()

Returns by value, unit of volume: pinch.

Also see {

MeasureUnit * createPint (UErrorCode & status)

Returns by pointer, unit of volume: pint.

Caller owns returned value and must free it.

Also see {

MeasureUnit getPint ()

Returns by value, unit of volume: pint.

Also see {

MeasureUnit * createPintMetric (UErrorCode & status)

Returns by pointer, unit of volume: pint-metric.

Caller owns returned value and must free it.

Also see {

MeasureUnit getPintMetric ()

Returns by value, unit of volume: pint-metric.

Also see {

MeasureUnit * createQuart (UErrorCode & status)

Returns by pointer, unit of volume: quart.

Caller owns returned value and must free it.

Also see {

MeasureUnit getQuart ()

Returns by value, unit of volume: quart.

Also see {

MeasureUnit * createQuartImperial (UErrorCode & status)

Returns by pointer, unit of volume: quart-imperial.

Caller owns returned value and must free it.

Also see {

MeasureUnit getQuartImperial ()

Returns by value, unit of volume: quart-imperial.

Also see {

MeasureUnit * createTablespoon (UErrorCode & status)

Returns by pointer, unit of volume: tablespoon.

Caller owns returned value and must free it.

Also see {

MeasureUnit getTablespoon ()

Returns by value, unit of volume: tablespoon.

Also see {

MeasureUnit * createTeaspoon (UErrorCode & status)

Returns by pointer, unit of volume: teaspoon.

Caller owns returned value and must free it.

Also see {

MeasureUnit getTeaspoon ()

Returns by value, unit of volume: teaspoon.

Also see {

bool operator!= (const UObject & other)

Inequality operator. Return true if this object is not equal

to the given object.

ICU 53

Defined at line 483 of file ../../third_party/icu/latest/source/i18n/unicode/measunit.h

Protected Methods

void initTime (const char * timeId)

For ICU use only.

void initCurrency (StringPiece isoCurrency)

For ICU use only.

Friends

class LongNameHandler
class MeasureUnitImpl