API Reference Cldr Units v3.7.0
Supports the CLDR Units definitions which provide for the localization of many unit types.
Additional domain-specific units can be defined
to suit application requirements. In the context
ex_cldr there are two parts of configuring
Functions to manage unit name aliases
Functions to support the base unit calculations for a unit.
Options structure for unit conversions
Simple arithmetic functions for the
Parse unit strings into composable unit structures. These structures can then be used to produced localized output, or to be converted to another unit of the same unit category.
In many cultures, the common unit of measure for some unit categories varies based upon the usage of the unit.