Travel::Status::DE::EFA::Stop - Information about a stop (station) contained in a Travel::Status::DE::EFA::Result's route
for my $stop ($departure->route_post) { printf( "%s -> %s : %40s %s\n", $stop->arr ? $stop->arr->strftime('%H:%M') : q{--:--}, $stop->dep ? $stop->dep->strftime('%H:%M') : q{--:--}, $stop->name, $stop->platform ); }
version 3.06
Travel::Status::DE::EFA::Stop describes a single stop of a departure's route. It is solely based on the respective departure's schedule; delays or changed platforms are not taken into account.
Most accessors return undef if the corresponding data is not available.
DateTime(3pm) object holding scheduled arrival date and time.
DateTime(3pm) object holding estimated (real-time) arrival date and time.
DateTime(3pm) object holding arrival date and time. Real-time data if available, schedule data otherwise.
Arrival delay in minutes.
DateTime(3pm) object holding scheduled departure date and time.
DateTime(3pm) object holding estimated (real-time) departure date and time.
DateTime(3pm) object holding departure date and time. Real-time data if available, schedule data otherwise.
Departure delay in minutes.
Delay in minutes. Departure delya if available, arrival delay otherwise.
Distance from request coordinates in meters. undef if the object has not been obtained by means of a coord request.
Stop ID (numeric).
Stop ID (code).
Place or city name, for instance "Essen".
stop name with place or city prefix ("City Stop", for instance "Essen Rüttenscheider Stern").
stop name without place or city prefix, for instance "Rüttenscheider Stern".
Arrayref describing the stop's latitude and longitude in WGS84 coordinates.
Platform name/number if available, empty string otherwise.
Returns a new Travel::Status::DE::EFA::Stop object. You should not need to call this.
Allows the object data to be serialized to JSON.
None.
This module is a Work in Progress. Its API may change between minor versions.
Travel::Status::DE::EFA(3pm).
Copyright (C) 2015-2025 Birte Kristina Friesel <derf@finalrewind.org>
This module is licensed under the same terms as Perl itself.