com.jrefinery.chart
Class DateTickUnit
java.lang.Object
com.jrefinery.chart.TickUnit
com.jrefinery.chart.DateTickUnit
- All Implemented Interfaces:
- java.lang.Comparable
public class DateTickUnit
- extends TickUnit
| Fields inherited from class com.jrefinery.chart.TickUnit |
size |
|
Constructor Summary |
DateTickUnit(int unit,
int count,
java.text.DateFormat formatter)
|
|
Method Summary |
java.lang.String |
valueToString(double milliseconds)
Formats a value. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
YEAR
public static final int YEAR
- See Also:
- Constant Field Values
MONTH
public static final int MONTH
- See Also:
- Constant Field Values
DAY
public static final int DAY
- See Also:
- Constant Field Values
HOUR
public static final int HOUR
- See Also:
- Constant Field Values
MINUTE
public static final int MINUTE
- See Also:
- Constant Field Values
SECOND
public static final int SECOND
- See Also:
- Constant Field Values
MILLISECOND
public static final int MILLISECOND
- See Also:
- Constant Field Values
unit
protected int unit
count
protected int count
formatter
protected java.text.DateFormat formatter
DateTickUnit
public DateTickUnit(int unit,
int count,
java.text.DateFormat formatter)
valueToString
public java.lang.String valueToString(double milliseconds)
- Formats a value.
- Overrides:
valueToString in class TickUnit
Copyright © 2003 MBARI.
The Monterey Bay Aquarium Research Institute (MBARI) provides this documentation and code "as is", with no warranty, express or implied, of its quality or consistency. It is provided without support and without obligation on the part of MBARI to assist in its use, correction, modification, or enhancement.