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(String name,
String plural,
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,
String name)
Adds an alias for a unit already in the database.
|
void |
UnitDB.addAlias(UnitID id,
String name)
Adds an alias for a unit to the database.
|
Constructor and Description |
---|
NoSuchUnitException(UnitID id)
Constructs from a unit identifier.
|
Copyright © 1999–2017 UCAR/Unidata. All rights reserved.