org.jfree.chart.axis
public class QuarterDateFormat extends DateFormat implements Cloneable, Serializable
| Field Summary | |
|---|---|
| static String[] | GREEK_QUARTERS
Symbols for greek numbered quarters.
|
| static String[] | REGULAR_QUARTERS Symbols for regular quarters. |
| static String[] | ROMAN_QUARTERS Symbols for roman numbered quarters. |
| Constructor Summary | |
|---|---|
| QuarterDateFormat()
Creates a new instance for the default time zone. | |
| QuarterDateFormat(TimeZone zone)
Creates a new instance for the specified time zone.
| |
| QuarterDateFormat(TimeZone zone, String[] quarterSymbols)
Creates a new instance for the specified time zone.
| |
| QuarterDateFormat(TimeZone zone, String[] quarterSymbols, boolean quarterFirst)
Creates a new instance for the specified time zone.
| |
| Method Summary | |
|---|---|
| boolean | equals(Object obj)
Tests this formatter for equality with an arbitrary object.
|
| StringBuffer | format(Date date, StringBuffer toAppendTo, FieldPosition fieldPosition)
Formats the given date.
|
| Date | parse(String source, ParsePosition pos)
Parses the given string (not implemented).
|
Since: 1.0.6
Parameters: zone the time zone (null not permitted).
Parameters: zone the time zone (null not permitted). quarterSymbols the quarter symbols.
Parameters: zone the time zone (null not permitted). quarterSymbols the quarter symbols. quarterFirst a flag that controls whether the quarter or the
year is displayed first.
Since: 1.0.6
Parameters: obj the object (null permitted).
Returns: A boolean.
Parameters: date the date. toAppendTo the string buffer. fieldPosition the field position.
Returns: The formatted date.
Parameters: source the date string. pos the parse position.
Returns: null, as this method has not been implemented.