| 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 |
PrefixDBAccessException
Provides support for prefix database access failures.
|
class |
PrefixExistsException
Provides support for prefix database failures.
|
| Modifier and Type | Method and Description |
|---|---|
Unit |
StandardUnitFormat.basicExpr(UnitDB unitDB) |
static StandardPrefixDB |
StandardPrefixDB.instance()
Gets an instance of this database.
|
static PrefixDB |
PrefixDBManager.instance()
Gets the current prefix database.
|
Unit |
StandardUnitFormat.logExpr(UnitDB unitDB) |
Unit |
UnitFormatImpl.parse(java.lang.String spec)
Parses a unit specification.
|
Unit |
UnitFormat.parse(java.lang.String spec)
Parses a unit specification.
|
Unit |
UnitFormat.parse(java.lang.String spec,
UnitDB unitDB)
Parses a unit specification.
|
Unit |
StandardUnitFormat.parse(java.lang.String spec,
UnitDB unitDB)
Decodes a unit specification.
|
Unit |
StandardUnitFormat.powerExpr(UnitDB unitDB) |
Unit |
StandardUnitFormat.productExpr(UnitDB unitDB) |
Unit |
StandardUnitFormat.shiftExpr(UnitDB unitDB) |
Unit |
StandardUnitFormat.unitIdentifier(UnitDB unitDB) |
Unit |
StandardUnitFormat.unitSpec(UnitDB unitDB) |