Class NanosAxisFormat.NanosFormat

java.lang.Object
java.text.Format
java.text.NumberFormat
com.illumon.iris.db.plot.axisformatters.NanosAxisFormat.NanosFormat
All Implemented Interfaces:
Serializable, Cloneable
Enclosing class:
NanosAxisFormat

public class NanosAxisFormat.NanosFormat extends NumberFormat
Formatter for DBDateTime values.
See Also:
  • Method Details

    • isAutoFormat

      public boolean isAutoFormat()
      Gets whether auto-formatting is on.
      Returns:
      whether the format is automatically chosen
    • updateFormatter

      public boolean updateFormatter(org.jfree.data.Range range)
      Auto-chooses the correct display format based off the range of data if auto-formatting is on. Smaller range results in finer grained label formats.
      Parameters:
      range - data range
    • updateTimeZone

      public void updateTimeZone(DBTimeZone tz)
    • format

      public StringBuffer format(double number, StringBuffer toAppendTo, FieldPosition pos)
      Specified by:
      format in class NumberFormat
    • format

      public StringBuffer format(long number, StringBuffer toAppendTo, FieldPosition pos)
      Specified by:
      format in class NumberFormat
    • parse

      public Number parse(String source, ParsePosition parsePosition)
      Specified by:
      parse in class NumberFormat