Skip to content
On this page

Home > sncf.js > StopTime

StopTime class

Signature:

typescript
export declare class StopTime

Constructors

Constructor

Modifiers

Description

(constructor)(Client, data, date)

Constructs a new instance of the StopTime class

Properties

Property

Modifiers

Type

Description

arrival_date

Date

Return the arrival date of the train

arrival_time

string

Arrival time

departure_date

Date

Return the departure date of the train

departure_time

string

Departure time

drop_off

boolean

Return boolean if drop off is available

headsign

string

Return the headsign of the train

pick_up

boolean

Return boolean if pick up is available

skipped

boolean

Return boolean if the stop is skipped

stop_area

StopArea

Return the stop area