Logo Search packages:      
Sourcecode: libjfreechart-java version File versions  Download package

boolean org::jfree::chart::axis::SegmentedTimeline::Segment::contains ( long  millis  )  [inline, inherited]

Returns true if a particular millisecond is contained in this segment.

Parameters:
millis the millisecond to verify.
Returns:
true if the millisecond is contained in the segment.

Definition at line 1351 of file SegmentedTimeline.java.

References org::jfree::chart::axis::SegmentedTimeline::Segment::segmentEnd, and org::jfree::chart::axis::SegmentedTimeline::Segment::segmentStart.

Referenced by org::jfree::chart::axis::SegmentedTimeline::binarySearchExceptionSegments(), org::jfree::chart::axis::SegmentedTimeline::Segment::contains(), and org::jfree::chart::axis::SegmentedTimeline::containsDomainRange().

                                             {
            return (this.segmentStart <= millis && millis <= this.segmentEnd);
        }


Generated by  Doxygen 1.6.0   Back to index