diff options
author | Daniel Friesel <derf@finalrewind.org> | 2015-12-21 23:12:30 +0100 |
---|---|---|
committer | Daniel Friesel <derf@finalrewind.org> | 2015-12-21 23:12:30 +0100 |
commit | 910b35eee7e86cd7c0de3ec4d288e5e5423c4709 (patch) | |
tree | 1a476b5a44318231aaf0164f20e8a3f7b64b76f6 /lib/Travel/Status/DE/HAFAS | |
parent | 702918a5e19153c1de8af669743eed8bb46f3487 (diff) |
documentation
Diffstat (limited to 'lib/Travel/Status/DE/HAFAS')
-rw-r--r-- | lib/Travel/Status/DE/HAFAS/Result.pm | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/lib/Travel/Status/DE/HAFAS/Result.pm b/lib/Travel/Status/DE/HAFAS/Result.pm index 117e1ea..4921fab 100644 --- a/lib/Travel/Status/DE/HAFAS/Result.pm +++ b/lib/Travel/Status/DE/HAFAS/Result.pm @@ -204,10 +204,24 @@ the platform, time, route and more. =over +=item $result->countdown + +Difference between the time Travel::Status::DE::HAFAS->results +was called first and the arrival/departure time, in minutes. + +=item $result->countdown_sec + +Difference between the time Travel::Status::DE::HAFAS->results +was called first and the arrival/departure time, in seconds. + =item $result->date Arrival/Departure date in "dd.mm.yyyy" format. +=item $result->datetime + +DateTime object holding the arrival/departure date and time. + =item $result->delay Returns the delay in minutes, or undef if it is unknown. |