Interface DateTimeInterval
public interface DateTimeInterval
The DateTimeInterval interface defines an interval between two
date times.
-
Method Summary
-
Method Details
-
getStart
DateTime getStart()Gets the starting time for this interval.- Returns:
- the starting time
- Compliance:
mandatory- This method must be implemented.
-
getEnd
DateTime getEnd()Gets the ending time for this interval. The ending time is greater than or equal to the starting time.- Returns:
- the ending time
- Compliance:
mandatory- This method must be implemented.
-