public class AccelerationUnit extends LinearUnit<AccelerationUnit>
Copyright (c) 2015-2016 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands. All rights reserved.
BSD-style license. See DJUNITS License.
$LastChangedDate: 2016-05-28 14:25:52 +0200 (Sat, 28 May 2016) $, @version $Revision: 202 $, by $Author: averbraeck $,
initial version May 15, 2014
| Modifier and Type | Field and Description |
|---|---|
static AccelerationUnit |
FOOT_PER_SECOND_2
ft/s^2.
|
static AccelerationUnit |
GAL
standard gravity.
|
static AccelerationUnit |
INCH_PER_SECOND_2
in/s^2.
|
static AccelerationUnit |
KM_PER_HOUR_2
km/h^2.
|
static AccelerationUnit |
KNOT_PER_SECOND
kt/s.
|
static AccelerationUnit |
METER_PER_SECOND_2
m/s^2.
|
static AccelerationUnit |
MILE_PER_HOUR_2
mi/h^2.
|
static AccelerationUnit |
MILE_PER_HOUR_PER_SECOND
mi/h/s.
|
static AccelerationUnit |
MILE_PER_SECOND_2
mi/s^2.
|
static AccelerationUnit |
SI
The SI unit for acceleration is m/s^2.
|
static AccelerationUnit |
STANDARD_GRAVITY
standard gravity.
|
scale, STANDARD_UNITS| Constructor and Description |
|---|
AccelerationUnit(LengthUnit lengthUnit,
TimeUnit timeUnit,
String name,
String abbreviation,
UnitSystem unitSystem)
Define user defined acceleration unit based on length and time.
|
AccelerationUnit(SpeedUnit speedUnit,
TimeUnit timeUnit,
String name,
String abbreviation,
UnitSystem unitSystem)
Define user-defined acceleration unit based on speed and time.
|
AccelerationUnit(String name,
String abbreviation,
UnitSystem unitSystem,
AccelerationUnit referenceUnit,
double conversionFactorToReferenceUnit)
Build a user-defined unit with a conversion factor to another unit.
|
| Modifier and Type | Method and Description |
|---|---|
LengthUnit |
getLengthUnit() |
String |
getSICoefficientsString() |
AccelerationUnit |
getStandardUnit() |
TimeUnit |
getTimeUnit() |
getConversionFactorToStandardUnit, getScaleequals, getAbbreviation, getAbbreviationKey, getAllUnitsOfThisType, getName, getNameKey, getSICoefficients, getUnits, getUnitSystem, hashCode, isLocalizable, lookupOrCreateSIUnitWithSICoefficients, lookupOrCreateUnitWithSICoefficients, lookupUnitWithSICoefficients, toStringpublic static final AccelerationUnit SI
public static final AccelerationUnit METER_PER_SECOND_2
public static final AccelerationUnit KM_PER_HOUR_2
public static final AccelerationUnit FOOT_PER_SECOND_2
public static final AccelerationUnit INCH_PER_SECOND_2
public static final AccelerationUnit MILE_PER_HOUR_2
public static final AccelerationUnit MILE_PER_SECOND_2
public static final AccelerationUnit KNOT_PER_SECOND
public static final AccelerationUnit MILE_PER_HOUR_PER_SECOND
public static final AccelerationUnit STANDARD_GRAVITY
public static final AccelerationUnit GAL
public AccelerationUnit(LengthUnit lengthUnit, TimeUnit timeUnit, String name, String abbreviation, UnitSystem unitSystem)
lengthUnit - the unit of length for the acceleration unit, e.g., metertimeUnit - the unit of time for the acceleration unit, e.g., secondname - the long name of the unitabbreviation - the abbreviation of the unitunitSystem - the unit system, e.g. SI or Imperialpublic AccelerationUnit(SpeedUnit speedUnit, TimeUnit timeUnit, String name, String abbreviation, UnitSystem unitSystem)
speedUnit - the unit of speed for the acceleration unit, e.g., knottimeUnit - the unit of time for the acceleration unit, e.g., secondname - the long name of the unitabbreviation - the abbreviation of the unitunitSystem - the unit system, e.g. SI or Imperialpublic AccelerationUnit(String name, String abbreviation, UnitSystem unitSystem, AccelerationUnit referenceUnit, double conversionFactorToReferenceUnit)
name - the long name of the unitabbreviation - 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 AccelerationUnit getStandardUnit()
getStandardUnit in class Unit<AccelerationUnit>public final String getSICoefficientsString()
getSICoefficientsString in class Unit<AccelerationUnit>Copyright © 2015–2016 Delft University of Technology. All rights reserved.