| Package | Description |
|---|---|
| org.sweble.wikitext.engine.ext.convert |
| Modifier and Type | Method and Description |
|---|---|
static Units |
Units.searchUnitFromName(String name)
Searches the Unit according to the given name.
|
static Units |
Units.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Units[] |
Units.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method and Description |
|---|---|
protected static String |
Convert.convertBaseTo(double siBaseValue,
Units destUnit,
org.sweble.wikitext.engine.ext.convert.Convert.AbbreviationMode abbreviationMode,
int sigFig,
boolean isUsNameUsed)
Converts a SI base value to the given destination unit and returns the
default formated Number with unit descriptor.
|
protected static String |
Convert.convertToDefaultUnit(double value,
Units srcUnit,
org.sweble.wikitext.engine.ext.convert.Convert.AbbreviationMode abbreviationMode,
int sigFig,
boolean isUsNameUsed)
Converts the given source unit value to its default destination unit.
|
static boolean |
Units.isSameUnitType(Units a,
Units b)
Checks if two units are from the same type (e.g.
|
Copyright © 2010–2018 University of Erlangen-Nürnberg - Open Source Research Group. All rights reserved.