Optional
name: stringUnit name
Optional
options: UnitOptionsUnit options
Static
Readonly
HOURStatic
Readonly
MICROSECONDStatic
Readonly
MILLISECONDStatic
Readonly
MINUTEStatic
Readonly
NANOSECONDStatic
Readonly
SECONDStatic
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