📄 day.html
字号:
<BR> Returns the month.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> org.jfree.date.SerialDate</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/jfree/data/time/Day.html#getSerialDate()">getSerialDate</A></B>()</CODE><BR> Returns the day as a <CODE>SerialDate</CODE>.</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/Day.html#getSerialIndex()">getSerialIndex</A></B>()</CODE><BR> Returns a serial index number for the day.</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/Day.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/Day.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/Day.html#next()">next</A></B>()</CODE><BR> Returns the day following this one, or <code>null</code> if some limit has been reached.</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/Day.html" title="class in org.jfree.data.time">Day</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/jfree/data/time/Day.html#parseDay(java.lang.String)">parseDay</A></B>(java.lang.String s)</CODE><BR> Parses the string argument as a day.</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/Day.html#previous()">previous</A></B>()</CODE><BR> Returns the day 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/Day.html#toString()">toString</A></B>()</CODE><BR> Returns a string representing the day.</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="DATE_FORMAT"><!-- --></A><H3>DATE_FORMAT</H3><PRE>protected static final java.text.DateFormat <A HREF="../../../../src-html/org/jfree/data/time/Day.html#line.84"><B>DATE_FORMAT</B></A></PRE><DL><DD>A standard date formatter.<P><DL></DL></DL><HR><A NAME="DATE_FORMAT_SHORT"><!-- --></A><H3>DATE_FORMAT_SHORT</H3><PRE>protected static final java.text.DateFormat <A HREF="../../../../src-html/org/jfree/data/time/Day.html#line.89"><B>DATE_FORMAT_SHORT</B></A></PRE><DL><DD>A date formatter for the default locale.<P><DL></DL></DL><HR><A NAME="DATE_FORMAT_MEDIUM"><!-- --></A><H3>DATE_FORMAT_MEDIUM</H3><PRE>protected static final java.text.DateFormat <A HREF="../../../../src-html/org/jfree/data/time/Day.html#line.93"><B>DATE_FORMAT_MEDIUM</B></A></PRE><DL><DD>A date formatter for the default locale.<P><DL></DL></DL><HR><A NAME="DATE_FORMAT_LONG"><!-- --></A><H3>DATE_FORMAT_LONG</H3><PRE>protected static final java.text.DateFormat <A HREF="../../../../src-html/org/jfree/data/time/Day.html#line.97"><B>DATE_FORMAT_LONG</B></A></PRE><DL><DD>A date formatter for the default locale.<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="Day()"><!-- --></A><H3>Day</H3><PRE>public <A HREF="../../../../src-html/org/jfree/data/time/Day.html#line.106"><B>Day</B></A>()</PRE><DL><DD>Creates a new instance, derived from the system date/time (and assuming the default timezone).<P></DL><HR><A NAME="Day(int, int, int)"><!-- --></A><H3>Day</H3><PRE>public <A HREF="../../../../src-html/org/jfree/data/time/Day.html#line.117"><B>Day</B></A>(int day, int month, int year)</PRE><DL><DD>Constructs a new one day time period.<P><DL><DT><B>Parameters:</B><DD><CODE>day</CODE> - the day-of-the-month.<DD><CODE>month</CODE> - the month (1 to 12).<DD><CODE>year</CODE> - the year (1900 <= year <= 9999).</DL></DL><HR><A NAME="Day(org.jfree.date.SerialDate)"><!-- --></A><H3>Day</H3><PRE>public <A HREF="../../../../src-html/org/jfree/data/time/Day.html#line.126"><B>Day</B></A>(org.jfree.date.SerialDate serialDate)</PRE><DL><DD>Constructs a new one day time period.<P><DL><DT><B>Parameters:</B><DD><CODE>serialDate</CODE> - the day (<code>null</code> not permitted).</DL></DL><HR><A NAME="Day(java.util.Date)"><!-- --></A><H3>Day</H3><PRE>public <A HREF="../../../../src-html/org/jfree/data/time/Day.html#line.139"><B>Day</B></A>(java.util.Date time)</PRE><DL><DD>Constructs a new instance, based on a particular date/time and the default time zone.<P><DL><DT><B>Parameters:</B><DD><CODE>time</CODE> - the time (<code>null</code> not permitted).</DL></DL><HR><A NAME="Day(java.util.Date, java.util.TimeZone)"><!-- --></A><H3>Day</H3><PRE>public <A HREF="../../../../src-html/org/jfree/data/time/Day.html#line.150"><B>Day</B></A>(java.util.Date time, java.util.TimeZone zone)</PRE><DL><DD>Constructs a new instance, based on a particular date/time and 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="getSerialDate()"><!-- --></A><H3>getSerialDate</H3><PRE>public org.jfree.date.SerialDate <A HREF="../../../../src-html/org/jfree/data/time/Day.html#line.174"><B>getSerialDate</B></A>()</PRE><DL><DD>Returns the day as a <CODE>SerialDate</CODE>. Note: the reference that is returned should be an instance of an immutable <CODE>SerialDate</CODE> (otherwise the caller could use the reference to alter the state of this <code>Day</code> instance, and <code>Day</code> is supposed to be immutable).<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>The day as a <CODE>SerialDate</CODE>.</DL></DD></DL><HR><A NAME="getYear()"><!-- --></A><H3>getYear</H3><PRE>public int <A HREF="../../../../src-html/org/jfree/data/time/Day.html#line.183"><B>getYear</B></A>()</PRE><DL><DD>Returns the year.<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/Day.html#line.192"><B>getMonth</B></A>()</PRE><DL><DD>Returns the month.<P><DD><DL></DL>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -