| Package | Description |
|---|---|
| ucar.units |
Provides support for parsing and formatting string unit specification,
converting numerical values between compatible units, and performing arithmetic
on units (such as dividing one unit by another).
|
| Modifier and Type | Class and Description |
|---|---|
class |
UnitName
Provides support for unit names.
|
class |
UnitSymbol
Provides support for symbols for units.
|
| Modifier and Type | Method and Description |
|---|---|
static UnitID |
UnitID.newUnitID(java.lang.String name,
java.lang.String plural,
java.lang.String symbol)
Factory method for constructing an identifier from a name, plural, and
symbol.
|
| Modifier and Type | Method and Description |
|---|---|
void |
UnitDBImpl.addAlias(UnitID alias,
java.lang.String name)
Adds an alias for a unit already in the database.
|
void |
UnitDB.addAlias(UnitID id,
java.lang.String name)
Adds an alias for a unit to the database.
|
| Constructor and Description |
|---|
NoSuchUnitException(UnitID id)
Constructs from a unit identifier.
|