Optional name: stringUnit name
Optional options: UnitOptionsUnit options
Static Readonly CELCIUSStatic Readonly FAHRENHEITStatic Readonly KELVINStatic Readonly RANKINEStatic Protected Readonly UNITSStatic Protected Readonly UNIT_Static Readonly UNKNOWNUnit aliases
Alias names as array
Unit name
Name
Protected prefixesConvert a value in the current unit to a target unit
Converted unit
Get or create a definition from this unit to the base
Definition to base
Protected findGet the unit specifier
Unit prefix
Unit with specifier
Static convertConvert a value from a specific unit to a target unit
Converted unit
Static findStatic fromJSONStatic register
Create a new unit