Frequency
data class Frequency(val tripId: String, val startTime: ServiceTime, val endTime: ServiceTime, val headwaySecs: WholeSeconds, val exactTimes: IntBoolean? = null)(source)
Headway (time between trips) for routes with variable frequency of service.
This class represents a record in the frequencies.txt file.
Constructors
Link copied to clipboard
constructor(tripId: String, startTime: ServiceTime, endTime: ServiceTime, headwaySecs: WholeSeconds, exactTimes: IntBoolean? = null)
Properties
Link copied to clipboard
Time at which service changes to a different headway (or ceases) at the first stop in the trip.
Link copied to clipboard
Indicates the type of service for a trip. When false (0), frequency-based trips are not exactly scheduled. When true (1), schedule-based trips with exact times. Defaults to false when null or empty.
Link copied to clipboard
Time between departures from the same stop (headway) for the trip.
Link copied to clipboard
Time at which the first vehicle departs from the first stop of the trip.
Link copied to clipboard
Identifies a trip to which the specified headway of service applies.