| java.text.DateFormat org.jfree.chart.axis.QuarterDateFormat
QuarterDateFormat | public class QuarterDateFormat extends DateFormat implements Cloneable,Serializable(Code) | | A formatter that formats dates to show the year and quarter (for example,
'2004 IV' for the last quarter of 2004.
|
Method Summary | |
public boolean | equals(Object obj) Tests this formatter for equality with an arbitrary object.
Parameters: obj - the object (null permitted). | public StringBuffer | format(Date date, StringBuffer toAppendTo, FieldPosition fieldPosition) Formats the given date.
Parameters: date - the date. Parameters: toAppendTo - the string buffer. Parameters: fieldPosition - the field position. | public Date | parse(String source, ParsePosition pos) Parses the given string (not implemented).
Parameters: source - the date string. Parameters: pos - the parse position. |
GREEK_QUARTERS | final public static String[] GREEK_QUARTERS(Code) | | Symbols for greek numbered quarters.
since: 1.0.6 |
REGULAR_QUARTERS | final public static String[] REGULAR_QUARTERS(Code) | | Symbols for regular quarters.
|
ROMAN_QUARTERS | final public static String[] ROMAN_QUARTERS(Code) | | Symbols for roman numbered quarters.
|
QuarterDateFormat | public QuarterDateFormat()(Code) | | Creates a new instance for the default time zone.
|
QuarterDateFormat | public QuarterDateFormat(TimeZone zone)(Code) | | Creates a new instance for the specified time zone.
Parameters: zone - the time zone (null not permitted). |
QuarterDateFormat | public QuarterDateFormat(TimeZone zone, String[] quarterSymbols)(Code) | | Creates a new instance for the specified time zone.
Parameters: zone - the time zone (null not permitted). Parameters: quarterSymbols - the quarter symbols. |
QuarterDateFormat | public QuarterDateFormat(TimeZone zone, String[] quarterSymbols, boolean quarterFirst)(Code) | | Creates a new instance for the specified time zone.
Parameters: zone - the time zone (null not permitted). Parameters: quarterSymbols - the quarter symbols. Parameters: quarterFirst - a flag that controls whether the quarter or the year is displayed first. since: 1.0.6 |
equals | public boolean equals(Object obj)(Code) | | Tests this formatter for equality with an arbitrary object.
Parameters: obj - the object (null permitted). A boolean. |
format | public StringBuffer format(Date date, StringBuffer toAppendTo, FieldPosition fieldPosition)(Code) | | Formats the given date.
Parameters: date - the date. Parameters: toAppendTo - the string buffer. Parameters: fieldPosition - the field position. The formatted date. |
parse | public Date parse(String source, ParsePosition pos)(Code) | | Parses the given string (not implemented).
Parameters: source - the date string. Parameters: pos - the parse position. null , as this method has not been implemented. |
Methods inherited from java.text.DateFormat | public Object clone()(Code)(Java Doc) public boolean equals(Object obj)(Code)(Java Doc) final public StringBuffer format(Object obj, StringBuffer toAppendTo, FieldPosition fieldPosition)(Code)(Java Doc) abstract public StringBuffer format(Date date, StringBuffer toAppendTo, FieldPosition fieldPosition)(Code)(Java Doc) final public String format(Date date)(Code)(Java Doc) public static Locale[] getAvailableLocales()(Code)(Java Doc) public Calendar getCalendar()(Code)(Java Doc) final public static DateFormat getDateInstance()(Code)(Java Doc) final public static DateFormat getDateInstance(int style)(Code)(Java Doc) final public static DateFormat getDateInstance(int style, Locale aLocale)(Code)(Java Doc) final public static DateFormat getDateTimeInstance()(Code)(Java Doc) final public static DateFormat getDateTimeInstance(int dateStyle, int timeStyle)(Code)(Java Doc) final public static DateFormat getDateTimeInstance(int dateStyle, int timeStyle, Locale aLocale)(Code)(Java Doc) final public static DateFormat getInstance()(Code)(Java Doc) public NumberFormat getNumberFormat()(Code)(Java Doc) final public static DateFormat getTimeInstance()(Code)(Java Doc) final public static DateFormat getTimeInstance(int style)(Code)(Java Doc) final public static DateFormat getTimeInstance(int style, Locale aLocale)(Code)(Java Doc) public TimeZone getTimeZone()(Code)(Java Doc) public int hashCode()(Code)(Java Doc) public boolean isLenient()(Code)(Java Doc) public Date parse(String source) throws ParseException(Code)(Java Doc) abstract public Date parse(String source, ParsePosition pos)(Code)(Java Doc) public Object parseObject(String source, ParsePosition pos)(Code)(Java Doc) public void setCalendar(Calendar newCalendar)(Code)(Java Doc) public void setLenient(boolean lenient)(Code)(Java Doc) public void setNumberFormat(NumberFormat newNumberFormat)(Code)(Java Doc) public void setTimeZone(TimeZone zone)(Code)(Java Doc)
|
|
|