java.lang.Object
dev.katsute.onemta.types.TransitTrip<String,Bus.Route,Bus.Vehicle,Bus.TripStop>
dev.katsute.onemta.bus.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 Summary
-
Method Summary
Methods inherited from class dev.katsute.onemta.types.TransitTrip
getRouteID, getTripID, getTripStops, getVehicle
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface dev.katsute.onemta.attribute.Reference.Route
getRoute
-
Constructor Details
-
Trip
public Trip()
-
-
Method Details
-
getDelay
Returns the delay from the schedule. Negative numbers implies ahead of schedule.- Returns:
- delay in seconds
- Since:
- 2.0.0
-