public class PressureUnit extends LinearUnit<PressureUnit>
Copyright (c) 2015-2018 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands. All rights reserved.
BSD-style license. See DJUNITS License.
$LastChangedDate: 2018-01-28 03:17:44 +0100 (Sun, 28 Jan 2018) $, @version $Revision: 256 $, by $Author: averbraeck $,
initial version May 15, 2014
Modifier and Type | Field and Description |
---|---|
static PressureUnit |
ATMOSPHERE_STANDARD
standard atmosphere.
|
static PressureUnit |
ATMOSPHERE_TECHNICAL
technical atmosphere.
|
static PressureUnit |
BAR
bar.
|
static PressureUnit |
BARYE
barye.
|
static PressureUnit |
CENTIMETER_MERCURY
cm Hg.
|
static PressureUnit |
FOOT_MERCURY
foot Hg.
|
static PressureUnit |
HECTOPASCAL
hectoPascal.
|
static PressureUnit |
INCH_MERCURY
inch Hg.
|
static PressureUnit |
KGF_PER_SQUARE_MM
kilogram-force per square millimeter.
|
static PressureUnit |
KILOPASCAL
kiloPascal.
|
static PressureUnit |
MILLIBAR
millibar.
|
static PressureUnit |
MILLIMETER_MERCURY
mm Hg.
|
static PressureUnit |
PASCAL
Pascal.
|
static PressureUnit |
PIEZE
pieze.
|
static PressureUnit |
POUND_PER_SQUARE_FOOT
pound per square foot.
|
static PressureUnit |
POUND_PER_SQUARE_INCH
pound per square inch.
|
static PressureUnit |
SI
The SI unit for pressure is Pascal.
|
static PressureUnit |
TORR
torr.
|
STANDARD_UNITS
Constructor and Description |
---|
PressureUnit(ForceUnit forceUnit,
AreaUnit areaUnit,
String name,
String abbreviation,
UnitSystem unitSystem)
Construct a user-defined pressure unit from force and area units, e.g.
|
PressureUnit(MassUnit massUnit,
LengthUnit lengthUnit,
DurationUnit durationUnit,
String name,
String abbreviation,
UnitSystem unitSystem)
Construct a user-defined pressure unit from mass, length and time units, e.g., a Pascal = kg/m.s^2.
|
PressureUnit(String name,
String abbreviation,
UnitSystem unitSystem,
PressureUnit referenceUnit,
double scaleFactorToReferenceUnit)
Build a user-defined PressureUnit with a conversion factor to another PressureUnit.
|
Modifier and Type | Method and Description |
---|---|
DurationUnit |
getDurationUnit() |
LengthUnit |
getLengthUnit() |
MassUnit |
getMassUnit() |
String |
getSICoefficientsString() |
PressureUnit |
getStandardUnit() |
equals, equalsIgnoreNaming, getScale, getScaleFactor, hashCode
generateHashCode, getAbbreviation, getAbbreviationKey, getAllUnitsOfThisType, getName, getNameKey, getSICoefficients, getUnits, getUnitSystem, isBaseSIUnit, isLocalizable, lookupOrCreateSIUnitWithSICoefficients, lookupOrCreateUnitWithSICoefficients, lookupUnitWithSICoefficients, toString
public static final PressureUnit SI
public static final PressureUnit PASCAL
public static final PressureUnit HECTOPASCAL
public static final PressureUnit KILOPASCAL
public static final PressureUnit ATMOSPHERE_STANDARD
public static final PressureUnit TORR
public static final PressureUnit ATMOSPHERE_TECHNICAL
public static final PressureUnit BARYE
public static final PressureUnit BAR
public static final PressureUnit MILLIBAR
public static final PressureUnit CENTIMETER_MERCURY
public static final PressureUnit MILLIMETER_MERCURY
public static final PressureUnit FOOT_MERCURY
public static final PressureUnit INCH_MERCURY
public static final PressureUnit KGF_PER_SQUARE_MM
public static final PressureUnit POUND_PER_SQUARE_FOOT
public static final PressureUnit POUND_PER_SQUARE_INCH
public static final PressureUnit PIEZE
public PressureUnit(MassUnit massUnit, LengthUnit lengthUnit, DurationUnit durationUnit, String name, String abbreviation, UnitSystem unitSystem)
massUnit
- the unit of mass for the pressure unit, e.g., kilogramlengthUnit
- the unit of length for the pressure unit, e.g., meterdurationUnit
- the unit of time for the pressure unit, e.g., secondname
- the long name of the unitabbreviation
- the abbreviation of the unitunitSystem
- the unit system, e.g. SI or Imperialpublic PressureUnit(ForceUnit forceUnit, AreaUnit areaUnit, String name, String abbreviation, UnitSystem unitSystem)
forceUnit
- the unit of force for the pressure unit, e.g., NewtonareaUnit
- the unit of area for the pressure unit, e.g., m^2name
- the long name of the unitabbreviation
- the abbreviation of the unitunitSystem
- the unit system, e.g. SI or Imperialpublic PressureUnit(String name, String abbreviation, UnitSystem unitSystem, PressureUnit referenceUnit, double scaleFactorToReferenceUnit)
name
- the long name of the unitabbreviation
- the abbreviation of the unitunitSystem
- the unit system, e.g. SI or ImperialreferenceUnit
- the unit to convert toscaleFactorToReferenceUnit
- multiply a value in this unit by the factor to convert to the given reference unitpublic final MassUnit getMassUnit()
public final LengthUnit getLengthUnit()
public final DurationUnit getDurationUnit()
public final PressureUnit getStandardUnit()
getStandardUnit
in class Unit<PressureUnit>
public final String getSICoefficientsString()
getSICoefficientsString
in class Unit<PressureUnit>
Copyright © 2015–2018 Delft University of Technology. All rights reserved.