Java org.jfree.chart.util RelativeDateFormat fields, constructors, methods, implement or subclass

Example usage for Java org.jfree.chart.util RelativeDateFormat fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for org.jfree.chart.util RelativeDateFormat.

The text is from its open source code.

Subclass

org.jfree.chart.util.RelativeDateFormat has subclasses.
Click this link to see all its subclasses.

Constructor

RelativeDateFormat()
Creates a new instance with base milliseconds set to zero.
RelativeDateFormat(Date time)
Creates a new instance.
RelativeDateFormat(long baseMillis)
Creates a new instance.

Method

voidsetHourSuffix(String suffix)
Sets the string that is appended to the hour count.
voidsetMinuteSuffix(String suffix)
Sets the string that is appended to the minute count.
voidsetSecondFormatter(NumberFormat formatter)
Sets the formatter for the seconds and milliseconds.
voidsetSecondSuffix(String suffix)
Sets the string that is appended to the second count.
voidsetShowZeroDays(boolean show)
Sets the flag that controls whether or not zero day counts are shown in the formatted output.
voidsetShowZeroHours(boolean show)
Sets the flag that controls whether or not zero hour counts are shown in the formatted output.