Class Frequency
Represents headway (time between trips) for routes with variable frequency of service.
Inherited Members
Namespace: System.Dynamic.ExpandoObject
Assembly: cs.temp.dll.dll
Syntax
public class Frequency : GTFSEntity
Properties
EndTime
Gets or sets the time at which service changes to a different frequency (or ceases) at the first stop in the trip. 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, 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. E.g. 25:35:00.
Declaration
public string EndTime { get; set; }
Property Value
System.String
|
ExactTimes
Gets or sets a value that determines if frequency-based trips should be exactly scheduled based on the specified headway information. Valid values for this field are:
Declaration
public bool ? ExactTimes { get; set; }
Property Value
System.Nullable<System.Boolean>
|
HeadwaySecs
Gets or sets the time between departures from the same stop (headway) for this trip type, during the time interval specified by start_time and end_time. The headway value must be entered in seconds.
Declaration
public string HeadwaySecs { get; set; }
Property Value
System.String
|
StartTime
Gets or sets the time at which service begins with the specified frequency. 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, 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. E.g. 25:35:00.
Declaration
public string StartTime { get; set; }
Property Value
System.String
|
TripId
Gets or sets a trip.
Declaration
public string TripId { get; set; }
Property Value
System.String
|
Methods
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
GetHashCode()
Serves as a hash function.
Declaration
public override int GetHashCode()
Returns
System.Int32
|
Overrides
IsOverlapping(Frequency)
Looks for overlapping times in frequencies
Declaration
public bool IsOverlapping(Frequency other)
Parameters
Frequency
other
|
Returns
System.Boolean
|
ToString()
Returns a string representing this object.
Declaration
public override string ToString()
Returns
System.String
|