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)
AxisFormatsetPattern in interface AxisFormatpattern - string indicating how values should be formatted.public NumberFormat getNumberFormatter()
AxisFormatNote that as time values are expressed as numbers, a number formatter is still suitable for dates.
getNumberFormatter in interface AxisFormat