📄 daterange.html
字号:
<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="DateRange()"><!-- --></A><H3>DateRange</H3><PRE>public <A HREF="../../../../src-html/org/jfree/data/time/DateRange.html#line.71"><B>DateRange</B></A>()</PRE><DL><DD>Default constructor.<P></DL><HR><A NAME="DateRange(java.util.Date, java.util.Date)"><!-- --></A><H3>DateRange</H3><PRE>public <A HREF="../../../../src-html/org/jfree/data/time/DateRange.html#line.81"><B>DateRange</B></A>(java.util.Date lower, java.util.Date upper)</PRE><DL><DD>Constructs a new range.<P><DL><DT><B>Parameters:</B><DD><CODE>lower</CODE> - the lower bound (<code>null</code> not permitted).<DD><CODE>upper</CODE> - the upper bound (<code>null</code> not permitted).</DL></DL><HR><A NAME="DateRange(double, double)"><!-- --></A><H3>DateRange</H3><PRE>public <A HREF="../../../../src-html/org/jfree/data/time/DateRange.html#line.96"><B>DateRange</B></A>(double lower, double upper)</PRE><DL><DD>Constructs a new range using two values that will be interpreted as "milliseconds since midnight GMT, 1-Jan-1970".<P><DL><DT><B>Parameters:</B><DD><CODE>lower</CODE> - the lower (oldest) date.<DD><CODE>upper</CODE> - the upper (most recent) date.</DL></DL><HR><A NAME="DateRange(org.jfree.data.Range)"><!-- --></A><H3>DateRange</H3><PRE>public <A HREF="../../../../src-html/org/jfree/data/time/DateRange.html#line.110"><B>DateRange</B></A>(<A HREF="../../../../org/jfree/data/Range.html" title="class in org.jfree.data">Range</A> other)</PRE><DL><DD>Constructs a new range that is based on another <A HREF="../../../../org/jfree/data/Range.html" title="class in org.jfree.data"><CODE>Range</CODE></A>. The other range does not have to be a <A HREF="../../../../org/jfree/data/time/DateRange.html" title="class in org.jfree.data.time"><CODE>DateRange</CODE></A>. If it is not, the upper and lower bounds are evaluated as milliseconds since midnight GMT, 1-Jan-1970.<P><DL><DT><B>Parameters:</B><DD><CODE>other</CODE> - the other range (<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="getLowerDate()"><!-- --></A><H3>getLowerDate</H3><PRE>public java.util.Date <A HREF="../../../../src-html/org/jfree/data/time/DateRange.html#line.119"><B>getLowerDate</B></A>()</PRE><DL><DD>Returns the lower (earlier) date for the range.<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>The lower date for the range.</DL></DD></DL><HR><A NAME="getUpperDate()"><!-- --></A><H3>getUpperDate</H3><PRE>public java.util.Date <A HREF="../../../../src-html/org/jfree/data/time/DateRange.html#line.128"><B>getUpperDate</B></A>()</PRE><DL><DD>Returns the upper (later) date for the range.<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>The upper date for the range.</DL></DD></DL><HR><A NAME="toString()"><!-- --></A><H3>toString</H3><PRE>public java.lang.String <A HREF="../../../../src-html/org/jfree/data/time/DateRange.html#line.137"><B>toString</B></A>()</PRE><DL><DD>Returns a string representing the date range (useful for debugging).<P><DD><DL><DT><B>Overrides:</B><DD><CODE><A HREF="../../../../org/jfree/data/Range.html#toString()">toString</A></CODE> in class <CODE><A HREF="../../../../org/jfree/data/Range.html" title="class in org.jfree.data">Range</A></CODE></DL></DD><DD><DL><DT><B>Returns:</B><DD>A string representing the date range.</DL></DD></DL><!-- ========= END OF CLASS DATA ========= --><HR><!-- ======= START OF BOTTOM NAVBAR ====== --><A NAME="navbar_bottom"><!-- --></A><A HREF="#skip-navbar_bottom" title="Skip navigation links"></A><TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""><TR><TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"><A NAME="navbar_bottom_firstrow"><!-- --></A><TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> <TR ALIGN="center" VALIGN="top"> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/DateRange.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../index-files/index-1.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> </TR></TABLE></TD><TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM></EM></TD></TR><TR><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> PREV CLASS <A HREF="../../../../org/jfree/data/time/Day.html" title="class in org.jfree.data.time"><B>NEXT CLASS</B></A></FONT></TD><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../../../index.html?org/jfree/data/time/DateRange.html" target="_top"><B>FRAMES</B></A> <A HREF="DateRange.html" target="_top"><B>NO FRAMES</B></A> <SCRIPT type="text/javascript"> <!-- if(window==top) { document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>'); } //--></SCRIPT><NOSCRIPT> <A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A></NOSCRIPT></FONT></TD></TR><TR><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> SUMMARY: NESTED | FIELD | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">DETAIL: FIELD | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD></TR></TABLE><A NAME="skip-navbar_bottom"></A><!-- ======== END OF BOTTOM NAVBAR ======= --><HR></BODY></HTML>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -