Class FlightTime

java.lang.Object
org.deltava.beans.schedule.FlightTime
All Implemented Interfaces:
Serializable

public class FlightTime extends Object implements Serializable
A bean to store Flight Time schedule search results.
Since:
4.2
Version:
10.1
Author:
Luke
See Also:
  • Constructor Details

    • FlightTime

      public FlightTime(Duration d, RoutePairType type)
      Creates the bean.
      Parameters:
      d - the flight time as a Duration
      type - a RoutePairType
  • Method Details

    • getFlightTime

      public Duration getFlightTime()
      Returns the flight time.
      Returns:
      the flight time in hours multiplied by 10
    • getType

      public RoutePairType getType()
      Returns the pair type
      Returns:
      a RoutePairType