Skip to content
On this page

Home > sncf.js > Arrival

Arrival class

Signature:

typescript
export declare class Arrival

Constructors

Constructor

Modifiers

Description

(constructor)(Client, data)

Constructs a new instance of the Arrival class

Properties

Property

Modifiers

Type

Description

arrival_date_time

Date

Return the arrival time (real time)

base_arrival_date_time

Date

Return the arrival time (scheduled)

base_departure_date_time

Date

Return the departure time (scheduled)

departure_date_time

Date

Return the departure time (real time)

isLate

boolean

Return true if the train is late

route

Route

Return the route of the train

stop_area

StopArea

Return the stop area of the train

train

TrainInfo

Return the train data