org.jfree.data.time.TimePeriod |
Known Indirect Subclasses
Day,
FixedMillisecond,
Hour,
Millisecond,
Minute,
Month,
Quarter,
RegularTimePeriod,
Second,
SimpleTimePeriod,
Week,
Year
Day |
Represents a single day in the range 1-Jan-1900 to 31-Dec-9999. |
FixedMillisecond |
Wrapper for a java.util.Date object that allows it to be used
as a RegularTimePeriod . |
Hour |
Represents an hour in a specific day. |
Millisecond |
Represents a millisecond. |
Minute |
Represents a minute. |
Month |
Represents a single month. |
Quarter |
Defines a quarter (in a given year). |
RegularTimePeriod |
An abstract class representing a unit of time. |
Second |
Represents a second in a particular day. |
SimpleTimePeriod |
An arbitrary period of time, measured to millisecond precision using
java.util.Date . |
Week |
A calendar week. |
Year |
Represents a year in the range -9999 to 9999. |
|
Class Overview
A period of time measured to millisecond precision using two instances of
java.util.Date
.
Summary
Public Methods |
abstract
Date
|
getEnd()
Returns the end date/time.
|
abstract
Date
|
getStart()
Returns the start date/time.
|
Public Methods
public
abstract
Date
getEnd
()
Returns the end date/time. This will always be on or after the
start date.
Returns
- The end date/time (never
null
).
public
abstract
Date
getStart
()
Returns the start date/time. This will always be on or before the
end date.
Returns
- The start date/time (never
null
).