Package | Description |
---|---|
ucar.nc2.units |
Utility classes for scientific units and ucar.units package.
|
Modifier and Type | Class and Description |
---|---|
class |
TimeUnit
Handles Units that are time durations, eg in seconds, hours, days, years.
|
Modifier and Type | Field and Description |
---|---|
static SimpleUnit |
SimpleUnit.kmUnit |
static SimpleUnit |
SimpleUnit.meterUnit |
static SimpleUnit |
SimpleUnit.pressureUnit |
Modifier and Type | Method and Description |
---|---|
static SimpleUnit |
SimpleUnit.factory(String name)
Create a SimpleUnit from the given name, catch Exceptions.
|
static SimpleUnit |
SimpleUnit.factoryWithExceptions(String name)
Create a SimpleUnit from the given name, allow Exceptions.
|
Modifier and Type | Method and Description |
---|---|
double |
SimpleUnit.convertTo(double value,
SimpleUnit outputUnit)
Convert given value of this unit to the new unit.
|
Copyright © 1999–2017 UCAR/Unidata. All rights reserved.