Interface TimeSpan
- All Superinterfaces:
CalendarEntry
,Comparable<Object>
- All Known Implementing Classes:
AbstractCalendarCommand.CalendarContext
,ACARSFlightReport
,ConnectionEntry
,DispatchConnectionEntry
,DispatchScheduleEntry
,Event
,FDRFlightReport
,FlightInfo
,InstructionBusy
,InstructionSession
,NetworkOutage
,SimFDRFlightReport
,XACARSFlightReport
,XAFlightInfo
An interface to describe beans with a start and an end time.
- Since:
- 3.1
- Version:
- 11.6
- Author:
- Luke
-
Method Summary
Methods inherited from interface org.deltava.beans.CalendarEntry
getDate
Methods inherited from interface java.lang.Comparable
compareTo
-
Method Details
-
getStartTime
-
getEndTime
-
getDuration
The duration of this span, or null if both times are not set.- Returns:
- a Duration, or null
-
hasTimes
default boolean hasTimes()Returns whether the start and end times are populated.- Returns:
- TRUE if both are populated, otherwise FALSE
-