| Methods in org.rhq.core.clientapi.util.units that return UnitNumber |
UnitNumber |
TemperatureFormatter.parse(String val,
Locale locale,
ParseSpecifics specifics)
|
UnitNumber |
SimpleFormatter.parse(String val,
Locale locale,
ParseSpecifics specifics)
|
UnitNumber |
PercentageFormatter.parse(String val,
Locale locale,
ParseSpecifics specifics)
|
UnitNumber |
Formatter.parse(String val,
Locale locale,
ParseSpecifics specifics)
Parse a string into a UnitNumber. |
UnitNumber |
DurationFormatter.parse(String val,
Locale locale,
ParseSpecifics specifics)
|
UnitNumber |
DateFormatter.parse(String val,
Locale locale,
ParseSpecifics specifics)
|
UnitNumber |
BinaryFormatter.parse(String val,
Locale locale,
ParseSpecifics specifics)
|
protected UnitNumber |
BytesFormatter.parseTag(double number,
String tag,
int tagIdx,
ParseSpecifics specifics)
|
protected UnitNumber |
BitRateFormatter.parseTag(double number,
String tag,
int tagIdx,
ParseSpecifics specifics)
|
protected abstract UnitNumber |
BinaryFormatter.parseTag(double number,
String tag,
int tagIdx,
ParseSpecifics specifics)
|
| Methods in org.rhq.core.clientapi.util.units with parameters of type UnitNumber |
static FormattedNumber |
UnitsFormat.format(UnitNumber val)
|
static FormattedNumber |
UnitsFormat.format(UnitNumber val,
Locale locale)
|
FormattedNumber |
DateFormatter.format(UnitNumber val,
Locale locale)
|
static FormattedNumber |
UnitsFormat.format(UnitNumber val,
Locale locale,
FormatSpecifics specifics)
|
FormattedNumber |
TemperatureFormatter.format(UnitNumber val,
Locale locale,
FormatSpecifics format)
|
FormattedNumber |
SimpleFormatter.format(UnitNumber val,
Locale locale,
FormatSpecifics specifics)
|
FormattedNumber |
Formatter.format(UnitNumber val,
Locale locale,
FormatSpecifics format)
Format a number with the given locale. |
FormattedNumber |
DurationFormatter.format(UnitNumber val,
Locale locale,
FormatSpecifics specifics)
|
FormattedNumber |
DateFormatter.format(UnitNumber val,
Locale locale,
FormatSpecifics specifics)
|
FormattedNumber |
BinaryFormatter.format(UnitNumber val,
Locale locale,
FormatSpecifics specifics)
|