Package | Description |
---|---|
com.pi4j.temperature |
Modifier and Type | Method and Description |
---|---|
static TemperatureScale |
TemperatureScale.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TemperatureScale[] |
TemperatureScale.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
static double |
TemperatureConversion.convert(TemperatureScale from,
TemperatureScale to,
double temperature)
Convert a temperature value from one temperature scale to another.
|
static double |
TemperatureConversion.convertFromCelsius(TemperatureScale to,
double temperature)
Convert a temperature value from the Celsius temperature scale to another.
|
static double |
TemperatureConversion.convertFromFarenheit(TemperatureScale to,
double temperature)
Convert a temperature value from the Farenheit temperature scale to another.
|
static double |
TemperatureConversion.convertFromKelvin(TemperatureScale to,
double temperature)
Convert a temperature value from the Kelvin temperature scale to another.
|
static double |
TemperatureConversion.convertFromRankine(TemperatureScale to,
double temperature)
Convert a temperature value from the Rankine temperature scale to another.
|
static double |
TemperatureConversion.convertToCelsius(TemperatureScale from,
double temperature)
Convert a temperature value from another temperature scale into the Celsius temperature scale.
|
static double |
TemperatureConversion.convertToFarenheit(TemperatureScale from,
double temperature)
Convert a temperature value from another temperature scale into the Farenheit temperature scale.
|
static double |
TemperatureConversion.convertToKelvin(TemperatureScale from,
double temperature)
Convert a temperature value from another temperature scale into the Kelvin temperature scale.
|
static double |
TemperatureConversion.convertToRankine(TemperatureScale from,
double temperature)
Convert a temperature value from another temperature scale into the Rankine temperature scale.
|
Copyright © 2012–2019 Pi4J. All rights reserved.