Class StopTime
Represents a stop time. Times that a vehicle arrives at and departs from individual stops for each trip.
Inherited Members
Namespace: System.Dynamic.ExpandoObject
Assembly: cs.temp.dll.dll
Syntax
public class StopTime : GTFSEntity, IComparable
Properties
ArrivalTime
Gets or sets the arrival time at a specific stop for a specific trip on a route. The time is measured from "noon minus 12h" (effectively midnight, except for days on which daylight savings time changes occur) at the beginning of the service date. For times occurring after midnight on the service date, enter the time as a value greater than 24:00:00 in HH:MM:SS local time for the day on which the trip schedule begins. If you don't have separate times for arrival and departure at a stop, enter the same value for arrival_time and departure_time.
Declaration
public TimeOfDay? ArrivalTime { get; set; }
Property Value
System.Nullable<TimeOfDay>
|
DepartureTime
Gets or sets the departure time from a specific stop for a specific trip on a route. The time is measured from "noon minus 12h" (effectively midnight, except for days on which daylight savings time changes occur) at the beginning of the service date. For times occurring after midnight on the service date, enter the time as a value greater than 24:00:00 in HH:MM:SS local time for the day on which the trip schedule begins. If you don't have separate times for arrival and departure at a stop, enter the same value for arrival_time and departure_time.
Declaration
public TimeOfDay? DepartureTime { get; set; }
Property Value
System.Nullable<TimeOfDay>
|
DropOffType
Gets or sets the drop off type field that indicates whether passengers are dropped off at a stop as part of the normal schedule or whether a drop off at the stop is not available. This field also allows the transit agency to indicate that passengers must call the agency or notify the driver to arrange a drop off at a particular stop.
Declaration
public DropOffType? DropOffType { get; set; }
Property Value
System.Nullable<DropOffType>
|
PickupType
Gets or sets the pickup type field that indicates whether passengers are picked up at a stop as part of the normal schedule or whether a pickup at the stop is not available. This field also allows the transit agency to indicate that passengers must call the agency or notify the driver to arrange a pickup at a particular stop.
Declaration
public PickupType? PickupType { get; set; }
Property Value
System.Nullable<PickupType>
|
ShapeDistTravelled
Gets or sets a distance from the first shape point.
Declaration
public double ? ShapeDistTravelled { get; set; }
Property Value
System.Nullable<System.Double>
|
StopHeadsign
Gets or sets the text that appears on a sign that identifies the trip's destination to passengers. Use this field to override the default trip_headsign when the headsign changes between stops. If this headsign is associated with an entire trip, use trip_headsign instead.
Declaration
public string StopHeadsign { get; set; }
Property Value
System.String
|
StopId
Gets or sets a stop. Multiple routes may use the same stop. If location_type is used in stops.txt, all stops referenced in stop_times.txt must have location_type of 0.
Declaration
public string StopId { get; set; }
Property Value
System.String
|
StopSequence
Gets or sets the order of the stop for a particular trip. The values for stop_sequence must be non-negative integers, and they must increase along the trip.
Declaration
public uint StopSequence { get; set; }
Property Value
System.UInt32
|
TimepointType
Gets or sets the timepoint type.
Declaration
public TimePointType TimepointType { get; set; }
Property Value
TimePointType
|
TripId
Gets or sets a trip.
Declaration
public string TripId { get; set; }
Property Value
System.String
|
Methods
CompareTo(Object)
Compares this StopTime to the given object.
Declaration
public int CompareTo(object obj)
Parameters
System.Object
obj
|
Returns
System.Int32
|
Implements
Equals(Object)
Returns true if the given object contains the same data.
Declaration
public override bool Equals(object obj)
Parameters
System.Object
obj
|
Returns
System.Boolean
|
Overrides
From(StopTime)
Returns a new StopTime object created from a previous stop time object
Declaration
public static StopTime From(StopTime other)
Parameters
StopTime
other
|
Returns
StopTime
|
GetHashCode()
Serves as a hash function.
Declaration
public override int GetHashCode()
Returns
System.Int32
|
Overrides
ToString()
Returns a description of this trip.
Declaration
public override string ToString()
Returns
System.String
|