View Source API Reference Cldr Units v3.17.2
Modules
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
of ex_cldr
there are two parts of configuring
additional units.
Functions to manage unit name aliases
Functions to support the base unit calculations for a unit.
Unit conversion functions for the units defined
in CLDR
.
Options structure for unit conversions
Functions for formatting a unit or unit range into an iolist or a string.
Simple arithmetic functions for the t.Cldr.Unit.t/0
type.
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.
Implements a unit range type, similar to Date.Range
.