Constructor
new StationFeedDeparture(departure, destination, trip, status)
Station Feed Departure Constructor
Parameters:
Name | Type | Description |
---|---|---|
departure |
DateTime | DateTime of scheduled departure |
destination |
Stop | Destination Stop |
trip |
Trip | Departure Trip |
status |
StationFeedDepartureStatus | Real-time Status Information |
Members
departure :DateTime
The Date/Time of the Scheduled Departure
Type:
- DateTime
destination :Stop
The (final) Destination Stop of the departing Trip
Type:
- Stop
status :StationFeedDepartureStatus
The Station Feed Status of the Departure
Type:
trip :Trip
The Trip departing the Station
Type:
- Trip
Methods
(static) sort(a, b) → {int}
Sort Departures by scheduled departure date/time
Parameters:
Name | Type | Description |
---|---|---|
a |
StationFeedDeparture | Departure A |
b |
StationFeedDeparture | Departure B |
Returns:
compare integer
- Type
- int