public class FlowVolumeUnit extends Unit<FlowVolumeUnit>
Copyright (c) 2014 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands. All rights reserved.
BSD-style license. See OpenTrafficSim License.
Modifier and Type | Field and Description |
---|---|
static FlowVolumeUnit |
CUBIC_FEET_PER_MINUTE
ft^3/min.
|
static FlowVolumeUnit |
CUBIC_FEET_PER_SECOND
ft^3/s.
|
static FlowVolumeUnit |
CUBIC_INCH_PER_MINUTE
in^3/min.
|
static FlowVolumeUnit |
CUBIC_INCH_PER_SECOND
in^3/s.
|
static FlowVolumeUnit |
CUBIC_METER_PER_DAY
m^3/day.
|
static FlowVolumeUnit |
CUBIC_METER_PER_HOUR
m^3/hour.
|
static FlowVolumeUnit |
CUBIC_METER_PER_MINUTE
m^3/min.
|
static FlowVolumeUnit |
CUBIC_METER_PER_SECOND
m^3/s.
|
static FlowVolumeUnit |
GALLON_PER_DAY
gallon/day (US).
|
static FlowVolumeUnit |
GALLON_PER_HOUR
gallon/hour (US).
|
static FlowVolumeUnit |
GALLON_PER_MINUTE
gallon/min (US).
|
static FlowVolumeUnit |
GALLON_PER_SECOND
gallon/s (US).
|
static FlowVolumeUnit |
LITER_PER_DAY
L/day.
|
static FlowVolumeUnit |
LITER_PER_HOUR
L/hour.
|
static FlowVolumeUnit |
LITER_PER_MINUTE
L/min.
|
static FlowVolumeUnit |
LITER_PER_SECOND
L/s.
|
static FlowVolumeUnit |
SI
The SI unit for volume flow rate is m^3/s.
|
Constructor and Description |
---|
FlowVolumeUnit(LengthUnit lengthUnit,
TimeUnit timeUnit,
String nameKey,
String abbreviationKey,
UnitSystem unitSystem)
Create a flow-volumeunit based on length (cubed) per time unit.
|
FlowVolumeUnit(String nameKey,
String abbreviationKey,
UnitSystem unitSystem,
FlowVolumeUnit referenceUnit,
double conversionFactorToReferenceUnit)
Create a flow-volumeunit based on another flow-volumeunit.
|
FlowVolumeUnit(VolumeUnit volumeUnit,
TimeUnit timeUnit,
String nameKey,
String abbreviationKey,
UnitSystem unitSystem)
Create a flow-volumeunit based as a volume unit per time unit.
|
Modifier and Type | Method and Description |
---|---|
LengthUnit |
getLengthUnit() |
String |
getSICoefficientsString() |
FlowVolumeUnit |
getStandardUnit() |
TimeUnit |
getTimeUnit() |
getAbbreviation, getAbbreviationKey, getAllUnitsOfThisType, getConversionFactorToStandardUnit, getName, getNameKey, getSICoefficients, getUnits, getUnitSystem, lookupOrCreateSIUnitWithSICoefficients, lookupOrCreateUnitWithSICoefficients, lookupUnitWithSICoefficients, toString
public static final FlowVolumeUnit SI
public static final FlowVolumeUnit CUBIC_METER_PER_SECOND
public static final FlowVolumeUnit CUBIC_METER_PER_MINUTE
public static final FlowVolumeUnit CUBIC_METER_PER_HOUR
public static final FlowVolumeUnit CUBIC_METER_PER_DAY
public static final FlowVolumeUnit LITER_PER_SECOND
public static final FlowVolumeUnit LITER_PER_MINUTE
public static final FlowVolumeUnit LITER_PER_HOUR
public static final FlowVolumeUnit LITER_PER_DAY
public static final FlowVolumeUnit CUBIC_FEET_PER_SECOND
public static final FlowVolumeUnit CUBIC_FEET_PER_MINUTE
public static final FlowVolumeUnit CUBIC_INCH_PER_SECOND
public static final FlowVolumeUnit CUBIC_INCH_PER_MINUTE
public static final FlowVolumeUnit GALLON_PER_SECOND
public static final FlowVolumeUnit GALLON_PER_MINUTE
public static final FlowVolumeUnit GALLON_PER_HOUR
public static final FlowVolumeUnit GALLON_PER_DAY
public FlowVolumeUnit(LengthUnit lengthUnit, TimeUnit timeUnit, String nameKey, String abbreviationKey, UnitSystem unitSystem)
lengthUnit
- the unit of length for the flow unit, e.g., metertimeUnit
- the unit of time for the flow unit, e.g., secondnameKey
- the key to the locale file for the long name of the unitabbreviationKey
- the key to the locale file for the abbreviation of the unitunitSystem
- the unit system, e.g. SI or Imperialpublic FlowVolumeUnit(VolumeUnit volumeUnit, TimeUnit timeUnit, String nameKey, String abbreviationKey, UnitSystem unitSystem)
volumeUnit
- the unit of volume for the flow unit, e.g., cubic metertimeUnit
- the unit of time for the flow unit, e.g., secondnameKey
- the key to the locale file for the long name of the unitabbreviationKey
- the key to the locale file for the abbreviation of the unitunitSystem
- the unit system, e.g. SI or Imperialpublic FlowVolumeUnit(String nameKey, String abbreviationKey, UnitSystem unitSystem, FlowVolumeUnit referenceUnit, double conversionFactorToReferenceUnit)
nameKey
- the key to the locale file for the long name of the unitabbreviationKey
- the key to the locale file for the abbreviation of the unitunitSystem
- the unit system, e.g. SI or ImperialreferenceUnit
- the unit to convert toconversionFactorToReferenceUnit
- multiply a value in this unit by the factor to convert to the given
reference unitpublic final LengthUnit getLengthUnit()
public final TimeUnit getTimeUnit()
public final FlowVolumeUnit getStandardUnit()
getStandardUnit
in class Unit<FlowVolumeUnit>
public final String getSICoefficientsString()
getSICoefficientsString
in class Unit<FlowVolumeUnit>
Copyright © 2014–2015 Delft University of Technology. All rights reserved.