📄 month.html
字号:
Returns the month.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> long</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/jfree/data/time/Month.html#getSerialIndex()">getSerialIndex</A></B>()</CODE><BR> Returns a serial index number for the month.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../../../org/jfree/data/time/Year.html" title="class in org.jfree.data.time">Year</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/jfree/data/time/Month.html#getYear()">getYear</A></B>()</CODE><BR> Returns the year in which the month falls.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> int</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/jfree/data/time/Month.html#getYearValue()">getYearValue</A></B>()</CODE><BR> Returns the year in which the month falls.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> int</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/jfree/data/time/Month.html#hashCode()">hashCode</A></B>()</CODE><BR> Returns a hash code for this object instance.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../../../org/jfree/data/time/RegularTimePeriod.html" title="class in org.jfree.data.time">RegularTimePeriod</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/jfree/data/time/Month.html#next()">next</A></B>()</CODE><BR> Returns the month following this one.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static <A HREF="../../../../org/jfree/data/time/Month.html" title="class in org.jfree.data.time">Month</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/jfree/data/time/Month.html#parseMonth(java.lang.String)">parseMonth</A></B>(java.lang.String s)</CODE><BR> Parses the string argument as a month.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../../../org/jfree/data/time/RegularTimePeriod.html" title="class in org.jfree.data.time">RegularTimePeriod</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/jfree/data/time/Month.html#previous()">previous</A></B>()</CODE><BR> Returns the month preceding this one.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> java.lang.String</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/jfree/data/time/Month.html#toString()">toString</A></B>()</CODE><BR> Returns a string representing the month (e.g.</TD></TR></TABLE> <A NAME="methods_inherited_from_class_org.jfree.data.time.RegularTimePeriod"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"><TH ALIGN="left"><B>Methods inherited from class org.jfree.data.time.<A HREF="../../../../org/jfree/data/time/RegularTimePeriod.html" title="class in org.jfree.data.time">RegularTimePeriod</A></B></TH></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><A HREF="../../../../org/jfree/data/time/RegularTimePeriod.html#createInstance(java.lang.Class, java.util.Date, java.util.TimeZone)">createInstance</A>, <A HREF="../../../../org/jfree/data/time/RegularTimePeriod.html#downsize(java.lang.Class)">downsize</A>, <A HREF="../../../../org/jfree/data/time/RegularTimePeriod.html#getEnd()">getEnd</A>, <A HREF="../../../../org/jfree/data/time/RegularTimePeriod.html#getFirstMillisecond()">getFirstMillisecond</A>, <A HREF="../../../../org/jfree/data/time/RegularTimePeriod.html#getFirstMillisecond(java.util.TimeZone)">getFirstMillisecond</A>, <A HREF="../../../../org/jfree/data/time/RegularTimePeriod.html#getLastMillisecond()">getLastMillisecond</A>, <A HREF="../../../../org/jfree/data/time/RegularTimePeriod.html#getLastMillisecond(java.util.TimeZone)">getLastMillisecond</A>, <A HREF="../../../../org/jfree/data/time/RegularTimePeriod.html#getMiddleMillisecond()">getMiddleMillisecond</A>, <A HREF="../../../../org/jfree/data/time/RegularTimePeriod.html#getMiddleMillisecond(java.util.Calendar)">getMiddleMillisecond</A>, <A HREF="../../../../org/jfree/data/time/RegularTimePeriod.html#getMiddleMillisecond(java.util.TimeZone)">getMiddleMillisecond</A>, <A HREF="../../../../org/jfree/data/time/RegularTimePeriod.html#getStart()">getStart</A></CODE></TD></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>clone, finalize, getClass, notify, notifyAll, 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="Month()"><!-- --></A><H3>Month</H3><PRE>public <A HREF="../../../../src-html/org/jfree/data/time/Month.html#line.87"><B>Month</B></A>()</PRE><DL><DD>Constructs a new Month, based on the current system time.<P></DL><HR><A NAME="Month(int, int)"><!-- --></A><H3>Month</H3><PRE>public <A HREF="../../../../src-html/org/jfree/data/time/Month.html#line.97"><B>Month</B></A>(int month, int year)</PRE><DL><DD>Constructs a new month instance.<P><DL><DT><B>Parameters:</B><DD><CODE>month</CODE> - the month (in the range 1 to 12).<DD><CODE>year</CODE> - the year.</DL></DL><HR><A NAME="Month(int, org.jfree.data.time.Year)"><!-- --></A><H3>Month</H3><PRE>public <A HREF="../../../../src-html/org/jfree/data/time/Month.html#line.107"><B>Month</B></A>(int month, <A HREF="../../../../org/jfree/data/time/Year.html" title="class in org.jfree.data.time">Year</A> year)</PRE><DL><DD>Constructs a new month instance.<P><DL><DT><B>Parameters:</B><DD><CODE>month</CODE> - the month (in the range 1 to 12).<DD><CODE>year</CODE> - the year.</DL></DL><HR><A NAME="Month(java.util.Date)"><!-- --></A><H3>Month</H3><PRE>public <A HREF="../../../../src-html/org/jfree/data/time/Month.html#line.123"><B>Month</B></A>(java.util.Date time)</PRE><DL><DD>Constructs a new month instance, based on a date/time and the default time zone.<P><DL><DT><B>Parameters:</B><DD><CODE>time</CODE> - the date/time.</DL></DL><HR><A NAME="Month(java.util.Date, java.util.TimeZone)"><!-- --></A><H3>Month</H3><PRE>public <A HREF="../../../../src-html/org/jfree/data/time/Month.html#line.133"><B>Month</B></A>(java.util.Date time, java.util.TimeZone zone)</PRE><DL><DD>Constructs a Month, based on a date/time and a time zone.<P><DL><DT><B>Parameters:</B><DD><CODE>time</CODE> - the date/time.<DD><CODE>zone</CODE> - the time zone.</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="getYear()"><!-- --></A><H3>getYear</H3><PRE>public <A HREF="../../../../org/jfree/data/time/Year.html" title="class in org.jfree.data.time">Year</A> <A HREF="../../../../src-html/org/jfree/data/time/Month.html#line.145"><B>getYear</B></A>()</PRE><DL><DD>Returns the year in which the month falls.<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>The year in which the month falls (as a Year object).</DL></DD></DL><HR><A NAME="getYearValue()"><!-- --></A><H3>getYearValue</H3><PRE>public int <A HREF="../../../../src-html/org/jfree/data/time/Month.html#line.154"><B>getYearValue</B></A>()</PRE><DL><DD>Returns the year in which the month falls.<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>The year in which the monht falls (as an int).</DL></DD></DL><HR><A NAME="getMonth()"><!-- --></A><H3>getMonth</H3><PRE>public int <A HREF="../../../../src-html/org/jfree/data/time/Month.html#line.163"><B>getMonth</B></A>()</PRE><DL><DD>Returns the month. Note that 1=JAN, 2=FEB, ...<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>The month.</DL></DD></DL><HR><A NAME="previous()"><!-- --></A><H3>previous</H3><PRE>public <A HREF="../../../../org/jfree/data/time/RegularTimePeriod.html" title="class in org.jfree.data.time">RegularTimePeriod</A> <A HREF="../../../../src-html/org/jfree/data/time/Month.html#line.172"><B>previous</B></A>()</PRE><DL><DD>Returns the month preceding this one.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/jfree/data/time/RegularTimePeriod.html#previous()">previous</A></CODE> in class <CODE><A HREF="../../../../org/jfree/data/time/RegularTimePeriod.html" title="class in org.jfree.data.time">RegularTimePeriod</A></CODE></DL></DD><DD><DL><DT><B>Returns:</B><DD>The month preceding this one.</DL></DD></DL><HR>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -