Travel::Status::DE::HAFAS::Stop - Information about a HAFAS stop.
# in journey mode for my $stop ($journey->route) { printf( %5s -> %5s %s\n", $stop->arr ? $stop->arr->strftime('%H:%M') : '--:--', $stop->dep ? $stop->dep->strftime('%H:%M') : '--:--', $stop->loc->name ); }
version 6.13
Travel::Status::DE::HAFAS::Stop describes a Travel::Status::DE::HAFAS::Journey(3pm)'s stop at a given Travel::Status::DE::HAFAS::Location(3pm) with arrival/departure time, platform, etc.
All date and time entries refer to the backend time zone (Europe/Berlin in most cases) and do not take local time into account; see tz_offset for the latter.
Travel::Status::DE::HAFAS::Location(3pm) instance describing stop name, EVA ID, et cetera.
DateTime object for actual arrival.
DateTime object for scheduled arrival.
DateTime object for actual or scheduled arrival.
Arrival delay in minutes.
Arrival is cancelled.
DateTime object for actual departure.
DateTime object for scheduled departure.
DateTIme object for actual or scheduled departure.
Departure delay in minutes.
Departure is cancelled.
Offset between backend time zone (default: Europe/Berlin) and this stop's time zone in minutes, if any. For instance, if the backend uses UTC+2 (CEST) and the stop uses UTC+1 (IST), tz_offset is -60. Returns undef if both use the same time zone (or rather, the same UTC offset).
Departure or arrival delay in minutes.
Direction signage from this stop on, undef if unchanged.
List of Travel::Status::DE::HAFAS::Message(3pm) instances related to this stop. These typically refer to delay reasons, platform changes, or changes in the line number / direction heading.
Travel::Status::DE::HAFAS::Product(3pm) instance describing the transit product (name, type, line number, operator, ...) upon arrival at this stop.
Travel::Status::DE::HAFAS::Product(3pm) instance describing the transit product (name, type, line number, operator, ...) upon departure from this stop.
Actual platform.
Scheduled platform.
Actual or scheduled platform.
True if real-time and scheduled platform disagree.
True if the stop is an unscheduled addition to the train's route.
Expected utilization / passenger load from this stop on.
None.
None known.
Travel::Status::DE::HAFAS(3pm).
Copyright (C) 2023 by Birte Kristina Friesel <derf@finalrewind.org>
This module is licensed under the same terms as Perl itself.