| Package | Description |
|---|---|
| javax.measure |
Provides strongly typed measurements to enforce compile-time
check of parameters consistency and avoid interface errors.
|
| javax.measure.unit |
Provides support for programatic unit handling.
|
| Modifier and Type | Method and Description |
|---|---|
static MeasureFormat |
MeasureFormat.getInstance(NumberFormat numberFormat,
UnitFormat unitFormat)
Returns the measure format using the specified number format and
unit format (the number and unit are separated by a space).
|
| Modifier and Type | Method and Description |
|---|---|
static UnitFormat |
UnitFormat.getInstance()
Returns the unit format for the default locale (format used by
Unit.valueOf(CharSequence) and
Unit.toString()). |
static UnitFormat |
UnitFormat.getInstance(Locale inLocale)
Returns the unit format for the specified locale.
|
static UnitFormat |
UnitFormat.getUCUMInstance()
Returns the UCUM
international unit format; this format uses characters range
0000-007F exclusively and is not locale-sensitive. |