Provided by: libtravel-routing-de-vrr-perl_2.04-1_all bug

NAME

       Travel::Routing::DE::VRR::Route::Part - Describes one connection between two points,
       without interchanges

SYNOPSIS

               for my $part ( $route->parts ) {

                       if ( $part->extra ) {
                               say join( "\n", $part->extra );
                       }

                       printf(
                               "%s at %s -> %s at %s, via %s to %s",
                               $part->departure_time, $part->departure_stop,
                               $part->arrival_time,   $part->arrival_stop,
                               $part->train_line,     $part->train_destination,
                       );
               }

VERSION

       version 2.04

DESCRIPTION

       Travel::Routing::DE::VRR::Route::Part holds one specific connection (without interchanges)
       between two points.  It specifies the start/stop point and time, the train line and its
       destination, and optional additional data.

       It is usually obtained by a call to Travel::Routing::DE::VRR::Route(3pm)'s parts method.

METHODS

   ACCESSORS
       "Actual" in the description means that the delay (if available) is already included in the
       calculation, "Scheduled" means it isn't.

       $part->arrival_stop
           arrival stop (city name plus station name)

       $part->arrival_platform
           arrival platform (either "Gleis x" or "Bstg. x")

       $part->arrival_stop_and_platform
           "stop: platform" concatenation

       $part->arrival_date
           Actual arrival date in DD.MM.YYYY format

       $part->arrival_time
           Actual arrival time in HH:MM format

       $part->arrival_sdate
           Scheduled arrival date in DD.MM.YYYY format

       $part->arrival_stime
           Scheduled arrival time in HH:MM format

       $part->delay
           delay in minutes, 0 if unknown

       $part->departure_stop
           departure stop (city name plus station name)

       $part->departure_platform
           departure platform (either "Gleis x" or "Bstg. x")

       $part->departure_stop_and_platform
           "stop: platform" concatenation

       $part->departure_date
           Actual departure date in DD.MM.YYYY format

       $part->departure_time
           Actual departure time in HH:MM format

       $part->departure_sdate
           Scheduled departure date in DD.MM.YYYY format

       $part->departure_stime
           Scheduled departure time in HH:MM format

       $part->extra
           Additional information about the connection.  Returns a list of newline-terminated
           strings

       $part->train_destination
           destination of the line providing the connection

       $part->train_line
           name / number of the line

       $part->via
           List of stops passed between departure_stop and arrival_stop, as "[ "DD.MM.YYYY",
           "HH:MM", stop, platform ]" hashrefs.

           May be empty, these are not always reported by efa.vrr.de.

DIAGNOSTICS

       None.

DEPENDENCIES

Class::Accessor(3pm)

BUGS AND LIMITATIONS

       $part->via does not work reliably.

SEE ALSO

       Travel::Routing::DE::VRR(3pm), Class::Accessor(3pm).

AUTHOR

       Copyright (C) 2011-2014 by Daniel Friesel <derf@finalrewind.org>

LICENSE

         0. You just DO WHAT THE FUCK YOU WANT TO.