public class NanosAxisFormat extends Object implements AxisFormat, Serializable
Constructor and Description |
---|
NanosAxisFormat()
Creates a new NanosAxisFormat with the default timezone.
|
NanosAxisFormat(DBTimeZone tz)
Creates a new NanosAxisFormat with the specified timezone.
|
Modifier and Type | Method and Description |
---|---|
NumberFormat |
getNumberFormatter()
Gets the formatter for given pattern.
|
void |
setPattern(String pattern)
Set the pattern used for formatting values.
|
public NanosAxisFormat(DBTimeZone tz)
tz
- timezonepublic NanosAxisFormat()
public void setPattern(String pattern)
AxisFormat
setPattern
in interface AxisFormat
pattern
- string indicating how values should be formatted.public NumberFormat getNumberFormatter()
AxisFormat
Note that as time values are expressed as numbers, a number formatter is still suitable for dates.
getNumberFormatter
in interface AxisFormat