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 |
ConverterImpl
Provides support for implementations of unit converters.
|
protected static class |
TimeScaleUnit.MyConverter
Provides support for Converter-s.
|
protected static class |
UnitImpl.MyConverter
Provides support for converting numeric values from this unit to another
unit.
|
Modifier and Type | Method and Description |
---|---|
static Converter |
ConverterImpl.create(Unit fromUnit,
Unit toUnit)
Factory method for creating a unit converter.
|
Converter |
TimeScaleUnit.getConverterTo(Unit outputUnit)
Returns a Converter for converting numeric values from this unit to
another unit.
|
Converter |
UnitImpl.getConverterTo(Unit outputUnit)
Gets a Converter for converting numeric values from this unit to another,
compatible unit.
|
Converter |
Unit.getConverterTo(Unit outputUnit)
Gets a Converter that converts numeric values from this unit to another,
compatible unit.
|
Copyright © 1999–2018 UCAR/Unidata. All rights reserved.