org.jfree.chart.axis
protected class SegmentedTimeline.SegmentRange extends SegmentedTimeline.Segment
Constructor Summary | |
---|---|
SegmentRange(long fromMillisecond, long toMillisecond)
Creates a SegmentRange between a start and end domain values.
|
Method Summary | |
---|---|
long | getSegmentCount()
Returns the number of segments contained in this range.
|
void | inc(long n)
Not implemented for SegmentRange. |
boolean | inExcludeSegments()
Returns true if we are an excluded segment.
|
boolean | inIncludeSegments()
Returns true if all Segments of this SegmentRenge are an included
segment and are not an exception.
|
SegmentedTimeline.Segment | intersect(long from, long to)
Returns a segment that is the intersection of this segment and the
interval.
|
Parameters: fromMillisecond start of the range toMillisecond end of the range
Returns: The segment count.
Parameters: n Number of segments to increment.
Returns: true
or false.
Returns: true
or false.
Parameters: from the start of the interval. to the end of the interval.
Returns: The intersection.