public abstract static class ValueFormatter.Number extends Object implements ValueFormatter
Modifier and Type | Class and Description |
---|---|
static class |
ValueFormatter.Number.Pattern |
ValueFormatter.BooleanFormatter, ValueFormatter.DateTime, ValueFormatter.GeoHash, ValueFormatter.IPv4Formatter, ValueFormatter.Number, ValueFormatter.Raw
BOOLEAN, GEOHASH, IPv4, RAW
Modifier and Type | Method and Description |
---|---|
String |
format(double value) |
String |
format(long value)
Formats the given millis time value (since the epoch) to string.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
id
readFrom, writeTo
public String format(long value)
ValueFormatter
format
in interface ValueFormatter
value
- The long value to format.public String format(double value)
format
in interface ValueFormatter
value
- double The double value to format.Copyright © 2009–2016. All rights reserved.