public class Abbreviation
extends java.lang.Object
implements java.io.Serializable
ABBREVIATION_NONE
can be used to reset the abbreviation.Modifier and Type | Field and Description |
---|---|
static Abbreviation |
ABBREVIATION_BILLIONS
Billions abbreviation
|
static Abbreviation |
ABBREVIATION_MILLIONS
Millions abbreviation
|
static Abbreviation |
ABBREVIATION_NONE
None abbreviation
|
static Abbreviation |
ABBREVIATION_THOUSANDS
Thousands abbreviation
|
Modifier and Type | Method and Description |
---|---|
static Abbreviation |
getAbbreviation(org.w3c.dom.Element element)
Reads the XML properties of a abbreviation.
|
double |
getDivisor()
Returns the divisor.
|
java.lang.String |
getSymbol()
Returns the symbol for this abbreviation, e.g.
|
public static final Abbreviation ABBREVIATION_NONE
public static final Abbreviation ABBREVIATION_THOUSANDS
public static final Abbreviation ABBREVIATION_MILLIONS
public static final Abbreviation ABBREVIATION_BILLIONS
public double getDivisor()
ABBREVIATION_THOUSANDS
is 1000.public java.lang.String getSymbol()
public static Abbreviation getAbbreviation(org.w3c.dom.Element element)
element
- the DOM elementAbbreviation
,
Element
Copyright © 1999-2020 by i-net software GmbH