📄 week.html
字号:
<CODE> long</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/jfree/data/time/Week.html#getSerialIndex()">getSerialIndex</A></B>()</CODE><BR> Returns a serial index number for the week.</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/Week.html#getWeek()">getWeek</A></B>()</CODE><BR> Returns the week.</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/Week.html#getYear()">getYear</A></B>()</CODE><BR> Returns the year in which the week 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/Week.html#getYearValue()">getYearValue</A></B>()</CODE><BR> Returns the year in which the week falls, as an integer value.</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/Week.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/Week.html#next()">next</A></B>()</CODE><BR> Returns the week 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/Week.html" title="class in org.jfree.data.time">Week</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/jfree/data/time/Week.html#parseWeek(java.lang.String)">parseWeek</A></B>(java.lang.String s)</CODE><BR> Parses the string argument as a week.</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/Week.html#previous()">previous</A></B>()</CODE><BR> Returns the week 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/Week.html#toString()">toString</A></B>()</CODE><BR> Returns a string representing the week (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"><TD><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></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><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"><TD><B>Methods inherited from class java.lang.Object</B></TD></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"><TD COLSPAN=1><FONT SIZE="+2"><B>Field Detail</B></FONT></TD></TR></TABLE><A NAME="FIRST_WEEK_IN_YEAR"><!-- --></A><H3>FIRST_WEEK_IN_YEAR</H3><PRE>public static final int <B>FIRST_WEEK_IN_YEAR</B></PRE><DL><DD>Constant for the first week in the year.<P><DL><DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#org.jfree.data.time.Week.FIRST_WEEK_IN_YEAR">Constant Field Values</A></DL></DL><HR><A NAME="LAST_WEEK_IN_YEAR"><!-- --></A><H3>LAST_WEEK_IN_YEAR</H3><PRE>public static final int <B>LAST_WEEK_IN_YEAR</B></PRE><DL><DD>Constant for the last week in the year.<P><DL><DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#org.jfree.data.time.Week.LAST_WEEK_IN_YEAR">Constant Field Values</A></DL></DL><!-- ========= CONSTRUCTOR DETAIL ======== --><A NAME="constructor_detail"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TD COLSPAN=1><FONT SIZE="+2"><B>Constructor Detail</B></FONT></TD></TR></TABLE><A NAME="Week()"><!-- --></A><H3>Week</H3><PRE>public <B>Week</B>()</PRE><DL><DD>Creates a new time period for the week in which the current system date/time falls.<P></DL><HR><A NAME="Week(int, int)"><!-- --></A><H3>Week</H3><PRE>public <B>Week</B>(int week, int year)</PRE><DL><DD>Creates a time period representing the week in the specified year.<P><DT><B>Parameters:</B><DD><CODE>week</CODE> - the week (1 to 53).<DD><CODE>year</CODE> - the year (1900 to 9999).</DL><HR><A NAME="Week(int, org.jfree.data.time.Year)"><!-- --></A><H3>Week</H3><PRE>public <B>Week</B>(int week, <A HREF="../../../../org/jfree/data/time/Year.html" title="class in org.jfree.data.time">Year</A> year)</PRE><DL><DD>Creates a time period representing the week in the specified year.<P><DT><B>Parameters:</B><DD><CODE>week</CODE> - the week (1 to 53).<DD><CODE>year</CODE> - the year (1900 to 9999).</DL><HR><A NAME="Week(java.util.Date)"><!-- --></A><H3>Week</H3><PRE>public <B>Week</B>(java.util.Date time)</PRE><DL><DD>Creates a time period for the week in which the specified date/time falls.<P><DT><B>Parameters:</B><DD><CODE>time</CODE> - the time (<code>null</code> not permitted).</DL><HR><A NAME="Week(java.util.Date, java.util.TimeZone)"><!-- --></A><H3>Week</H3><PRE>public <B>Week</B>(java.util.Date time, java.util.TimeZone zone)</PRE><DL><DD>Creates a time period for the week in which the specified date/time falls, calculated relative to the specified time zone.<P><DT><B>Parameters:</B><DD><CODE>time</CODE> - the date/time (<code>null</code> not permitted).<DD><CODE>zone</CODE> - the time zone (<code>null</code> not permitted).</DL><!-- ============ METHOD DETAIL ========== --><A NAME="method_detail"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TD COLSPAN=1><FONT SIZE="+2"><B>Method Detail</B></FONT></TD></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> <B>getYear</B>()</PRE><DL><DD>Returns the year in which the week falls.<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>The year (never <code>null</code>).</DL></DD></DL><HR><A NAME="getYearValue()"><!-- --></A><H3>getYearValue</H3><PRE>public int <B>getYearValue</B>()</PRE><DL><DD>Returns the year in which the week falls, as an integer value.<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>The year.</DL></DD></DL><HR><A NAME="getWeek()"><!-- --></A><H3>getWeek</H3><PRE>public int <B>getWeek</B>()</PRE><DL><DD>Returns the week.<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>The week.</DL></DD></DL><HR><A NAME="previous()"><!-- --></A><H3>previous</H3>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -