📄 timeline.html
字号:
<TD><CODE><B><A HREF="../../../../org/jfree/chart/axis/Timeline.html#toTimelineValue(long)">toTimelineValue</A></B>(long millisecond)</CODE><BR> Translates a millisecond (as defined by java.util.Date) into an index along this timeline.</TD></TR></TABLE> <P><!-- ============ 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="toTimelineValue(long)"><!-- --></A><H3>toTimelineValue</H3><PRE>long <A HREF="../../../../src-html/org/jfree/chart/axis/Timeline.html#line.87"><B>toTimelineValue</B></A>(long millisecond)</PRE><DL><DD>Translates a millisecond (as defined by java.util.Date) into an index along this timeline.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>millisecond</CODE> - the millisecond.<DT><B>Returns:</B><DD>A timeline value.</DL></DD></DL><HR><A NAME="toTimelineValue(java.util.Date)"><!-- --></A><H3>toTimelineValue</H3><PRE>long <A HREF="../../../../src-html/org/jfree/chart/axis/Timeline.html#line.96"><B>toTimelineValue</B></A>(java.util.Date date)</PRE><DL><DD>Translates a date into a value on this timeline.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>date</CODE> - the date.<DT><B>Returns:</B><DD>A timeline value</DL></DD></DL><HR><A NAME="toMillisecond(long)"><!-- --></A><H3>toMillisecond</H3><PRE>long <A HREF="../../../../src-html/org/jfree/chart/axis/Timeline.html#line.112"><B>toMillisecond</B></A>(long timelineValue)</PRE><DL><DD>Translates a value relative to this timeline into a domain value. The domain value obtained by this method is not always the same domain value that could have been supplied to translateDomainValueToTimelineValue(domainValue). This is because the original tranformation may not be complete reversable.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>timelineValue</CODE> - a timeline value.<DT><B>Returns:</B><DD>A domain value.<DT><B>See Also:</B><DD><A HREF="../../../../org/jfree/chart/axis/SegmentedTimeline.html" title="class in org.jfree.chart.axis"><CODE>SegmentedTimeline</CODE></A></DL></DD></DL><HR><A NAME="containsDomainValue(long)"><!-- --></A><H3>containsDomainValue</H3><PRE>boolean <A HREF="../../../../src-html/org/jfree/chart/axis/Timeline.html#line.122"><B>containsDomainValue</B></A>(long millisecond)</PRE><DL><DD>Returns <code>true</code> if a value is contained in the timeline values.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>millisecond</CODE> - the millisecond.<DT><B>Returns:</B><DD><code>true</code> if value is contained in the timeline and <code>false</code> otherwise.</DL></DD></DL><HR><A NAME="containsDomainValue(java.util.Date)"><!-- --></A><H3>containsDomainValue</H3><PRE>boolean <A HREF="../../../../src-html/org/jfree/chart/axis/Timeline.html#line.132"><B>containsDomainValue</B></A>(java.util.Date date)</PRE><DL><DD>Returns <code>true</code> if a date is contained in the timeline values.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>date</CODE> - the date to verify.<DT><B>Returns:</B><DD><code>true</code> if value is contained in the timeline and <code>false</code> otherwise.</DL></DD></DL><HR><A NAME="containsDomainRange(long, long)"><!-- --></A><H3>containsDomainRange</H3><PRE>boolean <A HREF="../../../../src-html/org/jfree/chart/axis/Timeline.html#line.144"><B>containsDomainRange</B></A>(long fromMillisecond, long toMillisecond)</PRE><DL><DD>Returns <code>true</code> if a range of values are contained in the timeline.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>fromMillisecond</CODE> - the start of the range to verify.<DD><CODE>toMillisecond</CODE> - the end of the range to verify.<DT><B>Returns:</B><DD><code>true</code> if the range is contained in the timeline or <code>false</code> otherwise</DL></DD></DL><HR><A NAME="containsDomainRange(java.util.Date, java.util.Date)"><!-- --></A><H3>containsDomainRange</H3><PRE>boolean <A HREF="../../../../src-html/org/jfree/chart/axis/Timeline.html#line.156"><B>containsDomainRange</B></A>(java.util.Date fromDate, java.util.Date toDate)</PRE><DL><DD>Returns <code>true</code> if a range of dates are contained in the timeline.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>fromDate</CODE> - the start of the range to verify.<DD><CODE>toDate</CODE> - the end of the range to verify.<DT><B>Returns:</B><DD><code>true</code> if the range is contained in the timeline or <code>false</code> otherwise</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/Timeline.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"> <A HREF="../../../../org/jfree/chart/axis/TickUnitSource.html" title="interface in org.jfree.chart.axis"><B>PREV CLASS</B></A> <A HREF="../../../../org/jfree/chart/axis/ValueAxis.html" title="class in org.jfree.chart.axis"><B>NEXT CLASS</B></A></FONT></TD><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../../../index.html?org/jfree/chart/axis/Timeline.html" target="_top"><B>FRAMES</B></A> <A HREF="Timeline.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 | CONSTR | <A HREF="#method_summary">METHOD</A></FONT></TD><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">DETAIL: FIELD | CONSTR | <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 + -