|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.jfree.data.Range | +--org.jfree.data.DateRange
An axis range specified in terms of two java.util.Date objects.
Constructor Summary | |
DateRange()
Default constructor. |
|
DateRange(java.util.Date lower,
java.util.Date upper)
Constructs a new DateAxisRange. |
|
DateRange(double lower,
double upper)
Constructs a new DateAxisRange. |
|
DateRange(Range other)
Constructs a new DateAxisRange based on another range. |
Method Summary | |
java.util.Date |
getLowerDate()
Returns the lower bound for the axis. |
java.util.Date |
getUpperDate()
Returns the upper bound for the axis. |
Methods inherited from class org.jfree.data.Range |
combine, contains, getCentralValue, getLength, getLowerBound, getUpperBound |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public DateRange()
public DateRange(java.util.Date lower, java.util.Date upper)
lower
- the lower bound.upper
- the upper bound.public DateRange(double lower, double upper)
lower
- the lower (oldest) date.upper
- the upper (youngest) date.public DateRange(Range other)
The other range may not be a DateAxisRange. If it is not, the upper and lower bounds are evaluated as milliseconds since midnight GMT, 1-Jan-1970.
other
- the other range.Method Detail |
public java.util.Date getLowerDate()
public java.util.Date getUpperDate()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |