public class SIUnit extends Unit<SIUnit>
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 Jun 15, 2014
scale, STANDARD_UNITS| Constructor and Description |
|---|
SIUnit(String siCoefficientString)
Create an arbitrary SI unit based on a coefficient string, such as m3/cd2.
|
SIUnit(String siCoefficientString,
boolean standardUnit)
Create an arbitrary SI unit based on a coefficient string, such as m3/cd2.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getSICoefficientsString() |
SIUnit |
getStandardUnit() |
equals, getAbbreviation, getAbbreviationKey, getAllUnitsOfThisType, getName, getNameKey, getScale, getSICoefficients, getUnits, getUnitSystem, hashCode, isLocalizable, lookupOrCreateSIUnitWithSICoefficients, lookupOrCreateUnitWithSICoefficients, lookupUnitWithSICoefficients, toStringpublic SIUnit(String siCoefficientString)
siCoefficientString - String; textual description of the unit.public SIUnit(String siCoefficientString, boolean standardUnit)
siCoefficientString - String; textual description of the unit.standardUnit - boolean; if true; the new unit is standard and there should be localization info; if false;
localization will not be availablepublic final SIUnit getStandardUnit()
getStandardUnit in class Unit<SIUnit>public final String getSICoefficientsString()
getSICoefficientsString in class Unit<SIUnit>Copyright © 2015–2016 Delft University of Technology. All rights reserved.