📄 quarter.html
字号:
<CODE> long</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/jfree/data/time/Quarter.html#getLastMillisecond(java.util.Calendar)">getLastMillisecond</A></B>(java.util.Calendar calendar)</CODE><BR> Returns the last millisecond of the Quarter, evaluated using the supplied calendar (which determines the time zone).</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/Quarter.html#getQuarter()">getQuarter</A></B>()</CODE><BR> Returns the quarter.</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/Quarter.html#getSerialIndex()">getSerialIndex</A></B>()</CODE><BR> Returns a serial index number for the quarter.</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/Quarter.html#getYear()">getYear</A></B>()</CODE><BR> Returns the year.</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/Quarter.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/Quarter.html#next()">next</A></B>()</CODE><BR> Returns the quarter 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/Quarter.html" title="class in org.jfree.data.time">Quarter</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/jfree/data/time/Quarter.html#parseQuarter(java.lang.String)">parseQuarter</A></B>(java.lang.String s)</CODE><BR> Parses the string argument as a quarter.</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/Quarter.html#previous()">previous</A></B>()</CODE><BR> Returns the quarter 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/Quarter.html#toString()">toString</A></B>()</CODE><BR> Returns a string representing the quarter (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><!-- ============ FIELD DETAIL =========== --><A NAME="field_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>Field Detail</B></FONT></TH></TR></TABLE><A NAME="FIRST_QUARTER"><!-- --></A><H3>FIRST_QUARTER</H3><PRE>public static final int <A HREF="../../../../src-html/org/jfree/data/time/Quarter.html#line.79"><B>FIRST_QUARTER</B></A></PRE><DL><DD>Constant for quarter 1.<P><DL><DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#org.jfree.data.time.Quarter.FIRST_QUARTER">Constant Field Values</A></DL></DL><HR><A NAME="LAST_QUARTER"><!-- --></A><H3>LAST_QUARTER</H3><PRE>public static final int <A HREF="../../../../src-html/org/jfree/data/time/Quarter.html#line.82"><B>LAST_QUARTER</B></A></PRE><DL><DD>Constant for quarter 4.<P><DL><DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#org.jfree.data.time.Quarter.LAST_QUARTER">Constant Field Values</A></DL></DL><HR><A NAME="FIRST_MONTH_IN_QUARTER"><!-- --></A><H3>FIRST_MONTH_IN_QUARTER</H3><PRE>public static final int[] <A HREF="../../../../src-html/org/jfree/data/time/Quarter.html#line.85"><B>FIRST_MONTH_IN_QUARTER</B></A></PRE><DL><DD>The first month in each quarter.<P><DL></DL></DL><HR><A NAME="LAST_MONTH_IN_QUARTER"><!-- --></A><H3>LAST_MONTH_IN_QUARTER</H3><PRE>public static final int[] <A HREF="../../../../src-html/org/jfree/data/time/Quarter.html#line.91"><B>LAST_MONTH_IN_QUARTER</B></A></PRE><DL><DD>The last month in each quarter.<P><DL></DL></DL><!-- ========= 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="Quarter()"><!-- --></A><H3>Quarter</H3><PRE>public <A HREF="../../../../src-html/org/jfree/data/time/Quarter.html#line.105"><B>Quarter</B></A>()</PRE><DL><DD>Constructs a new Quarter, based on the current system date/time.<P></DL><HR><A NAME="Quarter(int, int)"><!-- --></A><H3>Quarter</H3><PRE>public <A HREF="../../../../src-html/org/jfree/data/time/Quarter.html#line.115"><B>Quarter</B></A>(int quarter, int year)</PRE><DL><DD>Constructs a new quarter.<P><DL><DT><B>Parameters:</B><DD><CODE>year</CODE> - the year (1900 to 9999).<DD><CODE>quarter</CODE> - the quarter (1 to 4).</DL></DL><HR><A NAME="Quarter(int, org.jfree.data.time.Year)"><!-- --></A><H3>Quarter</H3><PRE>public <A HREF="../../../../src-html/org/jfree/data/time/Quarter.html#line.125"><B>Quarter</B></A>(int quarter, <A HREF="../../../../org/jfree/data/time/Year.html" title="class in org.jfree.data.time">Year</A> year)</PRE><DL><DD>Constructs a new quarter.<P><DL><DT><B>Parameters:</B><DD><CODE>quarter</CODE> - the quarter (1 to 4).<DD><CODE>year</CODE> - the year (1900 to 9999).</DL></DL><HR><A NAME="Quarter(java.util.Date)"><!-- --></A><H3>Quarter</H3><PRE>public <A HREF="../../../../src-html/org/jfree/data/time/Quarter.html#line.138"><B>Quarter</B></A>(java.util.Date time)</PRE><DL><DD>Constructs a new Quarter, 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="Quarter(java.util.Date, java.util.TimeZone)"><!-- --></A><H3>Quarter</H3><PRE>public <A HREF="../../../../src-html/org/jfree/data/time/Quarter.html#line.148"><B>Quarter</B></A>(java.util.Date time, java.util.TimeZone zone)</PRE><DL><DD>Constructs a Quarter, based on a date/time and time zone.<P><DL><DT><B>Parameters:</B><DD><CODE>time</CODE> - the date/time.<DD><CODE>zone</CODE> - the 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="getQuarter()"><!-- --></A><H3>getQuarter</H3><PRE>public int <A HREF="../../../../src-html/org/jfree/data/time/Quarter.html#line.163"><B>getQuarter</B></A>()</PRE><DL><DD>Returns the quarter.<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>The quarter.</DL></DD></DL><HR><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/Quarter.html#line.172"><B>getYear</B></A>()</PRE><DL><DD>Returns the year.<P><DD><DL></DL>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -