⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 hour.html

📁 jfreechart最新源代码
💻 HTML
📖 第 1 页 / 共 3 页
字号:
<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the hour.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;long</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/jfree/data/time/Hour.html#getLastMillisecond(java.util.Calendar)">getLastMillisecond</A></B>(java.util.Calendar&nbsp;calendar)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the last millisecond of the hour.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;int</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/jfree/data/time/Hour.html#getMonth()">getMonth</A></B>()</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the month in which this hour falls.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;long</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/jfree/data/time/Hour.html#getSerialIndex()">getSerialIndex</A></B>()</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns a serial index number for the hour.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;int</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/jfree/data/time/Hour.html#getYear()">getYear</A></B>()</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the year in which this hour falls.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;int</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/jfree/data/time/Hour.html#hashCode()">hashCode</A></B>()</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;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>&nbsp;<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/Hour.html#next()">next</A></B>()</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the hour following this one.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static&nbsp;<A HREF="../../../../org/jfree/data/time/Hour.html" title="class in org.jfree.data.time">Hour</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/jfree/data/time/Hour.html#parseHour(java.lang.String)">parseHour</A></B>(java.lang.String&nbsp;s)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Creates an Hour instance by parsing a string.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;<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/Hour.html#previous()">previous</A></B>()</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the hour preceding this one.</TD></TR></TABLE>&nbsp;<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>, <A HREF="../../../../org/jfree/data/time/RegularTimePeriod.html#toString()">toString</A></CODE></TD></TR></TABLE>&nbsp;<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>&nbsp;<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_HOUR_IN_DAY"><!-- --></A><H3>FIRST_HOUR_IN_DAY</H3><PRE>public static final int <A HREF="../../../../src-html/org/jfree/data/time/Hour.html#line.77"><B>FIRST_HOUR_IN_DAY</B></A></PRE><DL><DD>Useful constant for the first hour in the day.<P><DL><DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#org.jfree.data.time.Hour.FIRST_HOUR_IN_DAY">Constant Field Values</A></DL></DL><HR><A NAME="LAST_HOUR_IN_DAY"><!-- --></A><H3>LAST_HOUR_IN_DAY</H3><PRE>public static final int <A HREF="../../../../src-html/org/jfree/data/time/Hour.html#line.80"><B>LAST_HOUR_IN_DAY</B></A></PRE><DL><DD>Useful constant for the last hour in the day.<P><DL><DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#org.jfree.data.time.Hour.LAST_HOUR_IN_DAY">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"><TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"><B>Constructor Detail</B></FONT></TH></TR></TABLE><A NAME="Hour()"><!-- --></A><H3>Hour</H3><PRE>public <A HREF="../../../../src-html/org/jfree/data/time/Hour.html#line.91"><B>Hour</B></A>()</PRE><DL><DD>Constructs a new Hour, based on the system date/time.<P></DL><HR><A NAME="Hour(int, org.jfree.data.time.Day)"><!-- --></A><H3>Hour</H3><PRE>public <A HREF="../../../../src-html/org/jfree/data/time/Hour.html#line.101"><B>Hour</B></A>(int&nbsp;hour,            <A HREF="../../../../org/jfree/data/time/Day.html" title="class in org.jfree.data.time">Day</A>&nbsp;day)</PRE><DL><DD>Constructs a new Hour.<P><DL><DT><B>Parameters:</B><DD><CODE>hour</CODE> - the hour (in the range 0 to 23).<DD><CODE>day</CODE> - the day (<code>null</code> not permitted).</DL></DL><HR><A NAME="Hour(int, int, int, int)"><!-- --></A><H3>Hour</H3><PRE>public <A HREF="../../../../src-html/org/jfree/data/time/Hour.html#line.117"><B>Hour</B></A>(int&nbsp;hour,            int&nbsp;day,            int&nbsp;month,            int&nbsp;year)</PRE><DL><DD>Creates a new hour.<P><DL><DT><B>Parameters:</B><DD><CODE>hour</CODE> - the hour (0-23).<DD><CODE>day</CODE> - the day (1-31).<DD><CODE>month</CODE> - the month (1-12).<DD><CODE>year</CODE> - the year (1900-9999).</DL></DL><HR><A NAME="Hour(java.util.Date)"><!-- --></A><H3>Hour</H3><PRE>public <A HREF="../../../../src-html/org/jfree/data/time/Hour.html#line.126"><B>Hour</B></A>(java.util.Date&nbsp;time)</PRE><DL><DD>Constructs a new Hour, based on the supplied date/time.<P><DL><DT><B>Parameters:</B><DD><CODE>time</CODE> - the date-time (<code>null</code> not permitted).</DL></DL><HR><A NAME="Hour(java.util.Date, java.util.TimeZone)"><!-- --></A><H3>Hour</H3><PRE>public <A HREF="../../../../src-html/org/jfree/data/time/Hour.html#line.138"><B>Hour</B></A>(java.util.Date&nbsp;time,            java.util.TimeZone&nbsp;zone)</PRE><DL><DD>Constructs a new Hour, based on the supplied date/time evaluated in the specified time zone.<P><DL><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></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="getHour()"><!-- --></A><H3>getHour</H3><PRE>public int <A HREF="../../../../src-html/org/jfree/data/time/Hour.html#line.156"><B>getHour</B></A>()</PRE><DL><DD>Returns the hour.<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>The hour (0 <= hour <= 23).</DL></DD></DL><HR><A NAME="getDay()"><!-- --></A><H3>getDay</H3><PRE>public <A HREF="../../../../org/jfree/data/time/Day.html" title="class in org.jfree.data.time">Day</A> <A HREF="../../../../src-html/org/jfree/data/time/Hour.html#line.165"><B>getDay</B></A>()</PRE><DL><DD>Returns the day in which this hour falls.<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>The day.</DL></DD></DL><HR><A NAME="getYear()"><!-- --></A><H3>getYear</H3><PRE>public int <A HREF="../../../../src-html/org/jfree/data/time/Hour.html#line.174"><B>getYear</B></A>()</PRE><DL><DD>Returns the year in which this hour falls.<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>The year.</DL></DD></DL><HR><A NAME="getMonth()"><!-- --></A><H3>getMonth</H3><PRE>public int <A HREF="../../../../src-html/org/jfree/data/time/Hour.html#line.183"><B>getMonth</B></A>()</PRE>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -