Interface FlightTimes
- All Known Implementing Classes:
ACARSFlightReport
,DraftFlightReport
,RawScheduleEntry
,ScheduleEntry
,ScheduleSearchEntry
,SimFDRFlightReport
public interface FlightTimes
An interface to describe objects with departure and arrival times.
- Since:
- 6.1
- Version:
- 11.6
- Author:
- Luke
-
Method Summary
-
Method Details
-
getTimeD
ZonedDateTime getTimeD()Returns the departure time of the flight, with full timezone information. The date component of this value can be ignored, but may contain significant information like the flight date or the effective date for a schedule entry.- Returns:
- the full departure time of the flight
- See Also:
-
getTimeA
ZonedDateTime getTimeA()Returns the arrival time of the flight, with full timezone information. The date component of this value can be ignored, but may contain significant information.- Returns:
- the full arrival time of the flight
- See Also:
-
hasFlightTimes
default boolean hasFlightTimes()Returns if both the departure and arrrival date/times have been populated.- Returns:
- TRUE if both times are populated, otherwise FALSE
- See Also:
-