public class FlowVolumeUnit extends LinearUnit<FlowVolumeUnit>
Copyright (c) 2015-2019 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands. All rights reserved.
BSD-style license. See DJUNITS License.
$LastChangedDate: 2019-03-02 19:06:46 +0100 (Sat, 02 Mar 2019) $, @version $Revision: 342 $, by $Author: averbraeck $,
initial version May 15, 2014
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.
|
STANDARD_UNITS
Constructor and Description |
---|
FlowVolumeUnit(LengthUnit lengthUnit,
DurationUnit durationUnit,
String name,
String abbreviation,
UnitSystem unitSystem)
Create a user-defined flow-volumeunit based on length (cubed) per time unit.
|
FlowVolumeUnit(String name,
String abbreviation,
UnitSystem unitSystem,
FlowVolumeUnit referenceUnit,
double scaleFactorToReferenceUnit)
Build a user-defined unit with a conversion factor to another unit.
|
FlowVolumeUnit(VolumeUnit volumeUnit,
DurationUnit durationUnit,
String name,
String abbreviation,
UnitSystem unitSystem)
Create a user-defined flow-volumeunit based as a volume unit per time unit.
|
Modifier and Type | Method and Description |
---|---|
DurationUnit |
getDurationUnit() |
LengthUnit |
getLengthUnit() |
String |
getSICoefficientsString() |
FlowVolumeUnit |
getStandardUnit() |
equals, equalsIgnoreNaming, getScale, getScaleFactor, hashCode
generateHashCode, getAbbreviation, getAbbreviationKey, getAllUnitsOfThisType, getDefaultLocaleAbbreviation, getDefaultLocaleName, getDefaultLocaleTextualRepresentation, getDefaultLocaleTextualRepresentations, getDefaultTextualRepresentation, getName, getSICoefficients, getTextualRepresentations, getUnits, getUnitSystem, isBaseSIUnit, isLocalizable, 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, DurationUnit durationUnit, String name, String abbreviation, UnitSystem unitSystem)
lengthUnit
- LengthUnit; the unit of length for the flow unit, e.g., meterdurationUnit
- DurationUnit; the unit of time for the flow unit, e.g., secondname
- String; the long name of the unitabbreviation
- String; the abbreviation of the unitunitSystem
- UnitSystem; the unit system, e.g. SI or Imperialpublic FlowVolumeUnit(VolumeUnit volumeUnit, DurationUnit durationUnit, String name, String abbreviation, UnitSystem unitSystem)
volumeUnit
- VolumeUnit; the unit of volume for the flow unit, e.g., cubic meterdurationUnit
- DurationUnit; the unit of time for the flow unit, e.g., secondname
- String; the long name of the unitabbreviation
- String; the abbreviation of the unitunitSystem
- UnitSystem; the unit system, e.g. SI or Imperialpublic FlowVolumeUnit(String name, String abbreviation, UnitSystem unitSystem, FlowVolumeUnit referenceUnit, double scaleFactorToReferenceUnit)
name
- String; the long name of the unitabbreviation
- String; the abbreviation of the unitunitSystem
- UnitSystem; the unit system, e.g. SI or ImperialreferenceUnit
- FlowVolumeUnit; the unit to convert toscaleFactorToReferenceUnit
- double; multiply a value in this unit by the factor to convert to the given reference
unitpublic final LengthUnit getLengthUnit()
public final DurationUnit getDurationUnit()
public final FlowVolumeUnit getStandardUnit()
getStandardUnit
in class Unit<FlowVolumeUnit>
public final String getSICoefficientsString()
getSICoefficientsString
in class Unit<FlowVolumeUnit>
Copyright © 2015–2019 Delft University of Technology. All rights reserved.