Module OneMTA

Class Bus.Trip

All Implemented Interfaces:
Reference.Route<Bus.Route>
Enclosing class:
Bus

public abstract static class Bus.Trip extends TransitTrip<String,Bus.Route,Bus.Vehicle,Bus.TripStop>
Represents a bus vehicle trip.
Since:
1.0.0
Version:
2.0.0
Author:
Katsute
See Also:
  • Constructor Details

    • Trip

      public Trip()
  • Method Details

    • getDelay

      public abstract Integer getDelay()
      Returns the delay from the schedule. Negative numbers implies ahead of schedule.
      Returns:
      delay in seconds
      Since:
      2.0.0