📄 monthdateformat.html
字号:
</TR></TABLE> <A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"><TH ALIGN="left"><B>Methods inherited from class java.lang.Object</B></TH></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE>finalize, getClass, notify, notifyAll, toString, wait, wait, wait</CODE></TD></TR></TABLE> <P><!-- ========= CONSTRUCTOR DETAIL ======== --><A NAME="constructor_detail"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"><B>Constructor Detail</B></FONT></TH></TR></TABLE><A NAME="MonthDateFormat()"><!-- --></A><H3>MonthDateFormat</H3><PRE>public <A HREF="../../../../src-html/org/jfree/chart/axis/MonthDateFormat.html#line.78"><B>MonthDateFormat</B></A>()</PRE><DL><DD>Creates a new instance for the default time zone.<P></DL><HR><A NAME="MonthDateFormat(java.util.TimeZone)"><!-- --></A><H3>MonthDateFormat</H3><PRE>public <A HREF="../../../../src-html/org/jfree/chart/axis/MonthDateFormat.html#line.87"><B>MonthDateFormat</B></A>(java.util.TimeZone zone)</PRE><DL><DD>Creates a new instance for the specified time zone.<P><DL><DT><B>Parameters:</B><DD><CODE>zone</CODE> - the time zone (<code>null</code> not permitted).</DL></DL><HR><A NAME="MonthDateFormat(java.util.Locale)"><!-- --></A><H3>MonthDateFormat</H3><PRE>public <A HREF="../../../../src-html/org/jfree/chart/axis/MonthDateFormat.html#line.97"><B>MonthDateFormat</B></A>(java.util.Locale locale)</PRE><DL><DD>Creates a new instance for the specified time zone.<P><DL><DT><B>Parameters:</B><DD><CODE>locale</CODE> - the locale used to obtain the month names (<code>null</code> not permitted).</DL></DL><HR><A NAME="MonthDateFormat(java.util.TimeZone, int)"><!-- --></A><H3>MonthDateFormat</H3><PRE>public <A HREF="../../../../src-html/org/jfree/chart/axis/MonthDateFormat.html#line.110"><B>MonthDateFormat</B></A>(java.util.TimeZone zone, int chars)</PRE><DL><DD>Creates a new instance for the specified time zone.<P><DL><DT><B>Parameters:</B><DD><CODE>zone</CODE> - the time zone (<code>null</code> not permitted).<DD><CODE>chars</CODE> - the maximum number of characters to use from the month names (that are obtained from the date symbols of the default locale). If this value is <= 0, the entire month name is used in each case.</DL></DL><HR><A NAME="MonthDateFormat(java.util.Locale, int)"><!-- --></A><H3>MonthDateFormat</H3><PRE>public <A HREF="../../../../src-html/org/jfree/chart/axis/MonthDateFormat.html#line.123"><B>MonthDateFormat</B></A>(java.util.Locale locale, int chars)</PRE><DL><DD>Creates a new instance for the specified time zone.<P><DL><DT><B>Parameters:</B><DD><CODE>locale</CODE> - the locale (<code>null</code> not permitted).<DD><CODE>chars</CODE> - the maximum number of characters to use from the month names (that are obtained from the date symbols of the default locale). If this value is <= 0, the entire month name is used in each case.</DL></DL><HR><A NAME="MonthDateFormat(java.util.TimeZone, java.util.Locale, int, boolean, boolean)"><!-- --></A><H3>MonthDateFormat</H3><PRE>public <A HREF="../../../../src-html/org/jfree/chart/axis/MonthDateFormat.html#line.144"><B>MonthDateFormat</B></A>(java.util.TimeZone zone, java.util.Locale locale, int chars, boolean showYearForJan, boolean showYearForDec)</PRE><DL><DD>Creates a new formatter.<P><DL><DT><B>Parameters:</B><DD><CODE>zone</CODE> - the time zone used to extract the month and year from dates passed to this formatter (<code>null</code> not permitted).<DD><CODE>locale</CODE> - the locale used to determine the month names (<code>null</code> not permitted).<DD><CODE>chars</CODE> - the maximum number of characters to use from the month names, or zero to indicate that the entire month name should be used.<DD><CODE>showYearForJan</CODE> - a flag that controls whether or not the year is appended to the symbol for the first month of each year.<DD><CODE>showYearForDec</CODE> - a flag that controls whether or not the year is appended to the symbol for the last month of each year.</DL></DL><HR><A NAME="MonthDateFormat(java.util.TimeZone, java.util.Locale, int, boolean[], java.text.DateFormat)"><!-- --></A><H3>MonthDateFormat</H3><PRE>public <A HREF="../../../../src-html/org/jfree/chart/axis/MonthDateFormat.html#line.167"><B>MonthDateFormat</B></A>(java.util.TimeZone zone, java.util.Locale locale, int chars, boolean[] showYear, java.text.DateFormat yearFormatter)</PRE><DL><DD>Creates a new formatter.<P><DL><DT><B>Parameters:</B><DD><CODE>zone</CODE> - the time zone used to extract the month and year from dates passed to this formatter (<code>null</code> not permitted).<DD><CODE>locale</CODE> - the locale used to determine the month names (<code>null</code> not permitted).<DD><CODE>chars</CODE> - the maximum number of characters to use from the month names, or zero to indicate that the entire month name should be used.<DD><CODE>showYear</CODE> - an array of flags that control whether or not the year is displayed for a particular month.<DD><CODE>yearFormatter</CODE> - the year formatter.</DL></DL><!-- ============ METHOD DETAIL ========== --><A NAME="method_detail"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"><B>Method Detail</B></FONT></TH></TR></TABLE><A NAME="format(java.util.Date, java.lang.StringBuffer, java.text.FieldPosition)"><!-- --></A><H3>format</H3><PRE>public java.lang.StringBuffer <A HREF="../../../../src-html/org/jfree/chart/axis/MonthDateFormat.html#line.204"><B>format</B></A>(java.util.Date date, java.lang.StringBuffer toAppendTo, java.text.FieldPosition fieldPosition)</PRE><DL><DD>Formats the given date.<P><DD><DL><DT><B>Specified by:</B><DD><CODE>format</CODE> in class <CODE>java.text.DateFormat</CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>date</CODE> - the date.<DD><CODE>toAppendTo</CODE> - the string buffer.<DD><CODE>fieldPosition</CODE> - the field position.<DT><B>Returns:</B><DD>The formatted date.</DL></DD></DL><HR><A NAME="parse(java.lang.String, java.text.ParsePosition)"><!-- --></A><H3>parse</H3><PRE>public java.util.Date <A HREF="../../../../src-html/org/jfree/chart/axis/MonthDateFormat.html#line.223"><B>parse</B></A>(java.lang.String source, java.text.ParsePosition pos)</PRE><DL><DD>Parses the given string (not implemented).<P><DD><DL><DT><B>Specified by:</B><DD><CODE>parse</CODE> in class <CODE>java.text.DateFormat</CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>source</CODE> - the date string.<DD><CODE>pos</CODE> - the parse position.<DT><B>Returns:</B><DD><code>null</code>, as this method has not been implemented.</DL></DD></DL><HR><A NAME="equals(java.lang.Object)"><!-- --></A><H3>equals</H3><PRE>public boolean <A HREF="../../../../src-html/org/jfree/chart/axis/MonthDateFormat.html#line.234"><B>equals</B></A>(java.lang.Object obj)</PRE><DL><DD>Tests this formatter for equality with an arbitrary object.<P><DD><DL><DT><B>Overrides:</B><DD><CODE>equals</CODE> in class <CODE>java.text.DateFormat</CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>obj</CODE> - the object.<DT><B>Returns:</B><DD>A boolean.</DL></DD></DL><HR><A NAME="main(java.lang.String[])"><!-- --></A><H3>main</H3><PRE>public static void <A HREF="../../../../src-html/org/jfree/chart/axis/MonthDateFormat.html#line.262"><B>main</B></A>(java.lang.String[] args)</PRE><DL><DD>Some test code.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>args</CODE> - ignored.</DL></DD></DL><!-- ========= END OF CLASS DATA ========= --><HR><!-- ======= START OF BOTTOM NAVBAR ====== --><A NAME="navbar_bottom"><!-- --></A><A HREF="#skip-navbar_bottom" title="Skip navigation links"></A><TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""><TR><TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"><A NAME="navbar_bottom_firstrow"><!-- --></A><TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> <TR ALIGN="center" VALIGN="top"> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/MonthDateFormat.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../index-files/index-1.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> </TR></TABLE></TD><TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM></EM></TD></TR><TR><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../../../org/jfree/chart/axis/ModuloAxis.html" title="class in org.jfree.chart.axis"><B>PREV CLASS</B></A> <A HREF="../../../../org/jfree/chart/axis/NumberAxis.html" title="class in org.jfree.chart.axis"><B>NEXT CLASS</B></A></FONT></TD><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../../../index.html?org/jfree/chart/axis/MonthDateFormat.html" target="_top"><B>FRAMES</B></A> <A HREF="MonthDateFormat.html" target="_top"><B>NO FRAMES</B></A> <SCRIPT type="text/javascript"> <!-- if(window==top) { document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>'); } //--></SCRIPT><NOSCRIPT> <A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A></NOSCRIPT></FONT></TD></TR><TR><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> SUMMARY: <A HREF="#nested_classes_inherited_from_class_java.text.DateFormat">NESTED</A> | <A HREF="#fields_inherited_from_class_java.text.DateFormat">FIELD</A> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">DETAIL: FIELD | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD></TR></TABLE><A NAME="skip-navbar_bottom"></A><!-- ======== END OF BOTTOM NAVBAR ======= --><HR></BODY></HTML>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -