summaryrefslogtreecommitdiff
path: root/lib/Travel/Status/DE/EFA
diff options
context:
space:
mode:
authorBirte Kristina Friesel <birte.friesel@uos.de>2024-10-15 19:01:22 +0200
committerBirte Kristina Friesel <birte.friesel@uos.de>2024-10-15 19:01:22 +0200
commit9c919092827b91089909526abeeee8c1938e082a (patch)
treef7413c39ecda2f240abd2e990dd82f19452be3e3 /lib/Travel/Status/DE/EFA
parentb4a59b7f802bbcaeca043c9c99ebe5016edd1999 (diff)
update Stop(3pm)
Diffstat (limited to 'lib/Travel/Status/DE/EFA')
-rw-r--r--lib/Travel/Status/DE/EFA/Stop.pm53
1 files changed, 46 insertions, 7 deletions
diff --git a/lib/Travel/Status/DE/EFA/Stop.pm b/lib/Travel/Status/DE/EFA/Stop.pm
index 4ef8e12..46e5ffe 100644
--- a/lib/Travel/Status/DE/EFA/Stop.pm
+++ b/lib/Travel/Status/DE/EFA/Stop.pm
@@ -105,17 +105,47 @@ delays or changed platforms are not taken into account.
=head2 ACCESSORS
+Most accessors return undef if the corresponding data is not available.
+
=over
+=item $stop->sched_arr
+
+DateTime(3pm) object holding scheduled arrival date and time.
+
+=item $stop->rt_arr
+
+DateTime(3pm) object holding estimated (real-time) arrival date and time.
+
=item $stop->arr
-DateTime(3pm) object holding arrival date and time. undef if this is the
-first scheduled stop.
+DateTime(3pm) object holding arrival date and time. Real-time data if
+available, schedule data otherwise.
+
+=item $stop->arr_delay
+
+Arrival delay in minutes.
+
+=item $stop->sched_dep
+
+DateTime(3pm) object holding scheduled departure date and time.
+
+=item $stop->rt_dep
+
+DateTime(3pm) object holding estimated (real-time) departure date and time.
=item $stop->dep
-DateTime(3pm) object holding departure date and time. undef if this is the
-final scheduled stop.
+DateTime(3pm) object holding departure date and time. Real-time data if
+available, schedule data otherwise.
+
+=item $stop->dep_delay
+
+Departure delay in minutes.
+
+=item $stop->delay
+
+Delay in minutes. Departure delya if available, arrival delay otherwise.
=item $stop->distance_m
@@ -126,18 +156,27 @@ been obtained by means of a coord request.
Stop ID.
+=item $stop->stop_id
+
+The other kind of stop ID.
+Yes, EFA has two.
+
=item $stop->place
-City name, for instance "Essen".
+Place or city name, for instance "Essen".
=item $stop->full_name
-stop name with city prefix ("I<City> I<Stop>", for instance
+stop name with place or city prefix ("I<City> I<Stop>", for instance
"Essen RE<uuml>ttenscheider Stern").
=item $stop->name
-stop name without city prefix, for instance "RE<uuml>ttenscheider Stern".
+stop name without place or city prefix, for instance "RE<uuml>ttenscheider Stern".
+
+=item $stop->latlon
+
+Arrayref describing the stop's latitude and longitude in WGS84 coordinates.
=item $stop->platform