- All Known Implementing Classes:
Day
, FixedMillisecond
, Hour
, Millisecond
, Minute
, Month
, Quarter
, RegularTimePeriod
, Second
, SimpleTimePeriod
, Week
, Year
public interface TimePeriod
A period of time measured to millisecond precision using
java.util.Date
.
-
Method Summary
Modifier and Type |
Method |
Description |
Date |
getEnd() |
Returns the end date/time.
|
Date |
getStart() |
Returns the start date/time.
|
-
Method Details
-
getStart
Returns the start date/time.
- Returns:
- the start date/time.
-
getEnd
Returns the end date/time.
- Returns:
- the end date/time.