Package | Description |
---|---|
org.opentripplanner.api.param |
This package contains classes modeling parameters passed into web services in the query string.
|
org.opentripplanner.calendar.impl | |
org.opentripplanner.model | |
org.opentripplanner.model.calendar | |
org.opentripplanner.routing.core | |
org.opentripplanner.routing.edgetype | |
org.opentripplanner.routing.graph | |
org.opentripplanner.updater | |
org.opentripplanner.updater.stoptime |
Modifier and Type | Method and Description |
---|---|
ServiceDate |
YearMonthDay.toOBA() |
Modifier and Type | Method and Description |
---|---|
Set<ServiceDate> |
CalendarServiceImpl.getServiceDatesForServiceId(FeedScopedId serviceId) |
Modifier and Type | Method and Description |
---|---|
Set<FeedScopedId> |
CalendarServiceImpl.getServiceIdsOnDate(ServiceDate date) |
Modifier and Type | Method and Description |
---|---|
ServiceDate |
ServiceCalendarDate.getDate() |
ServiceDate |
ServiceCalendar.getEndDate() |
ServiceDate |
FeedInfo.getEndDate() |
ServiceDate |
ServiceCalendar.getStartDate() |
ServiceDate |
FeedInfo.getStartDate() |
Modifier and Type | Method and Description |
---|---|
Set<ServiceDate> |
CalendarService.getServiceDatesForServiceId(FeedScopedId serviceId) |
Modifier and Type | Method and Description |
---|---|
Set<FeedScopedId> |
CalendarService.getServiceIdsOnDate(ServiceDate date)
Determine the set of service ids that are active on the specified service
date.
|
void |
ServiceCalendarDate.setDate(ServiceDate date) |
void |
ServiceCalendar.setEndDate(ServiceDate endDate) |
void |
FeedInfo.setEndDate(ServiceDate endDate) |
void |
ServiceCalendar.setStartDate(ServiceDate startDate) |
void |
FeedInfo.setStartDate(ServiceDate startDate) |
Modifier and Type | Method and Description |
---|---|
ServiceDate |
ServiceDate.next() |
static ServiceDate |
ServiceDate.parseString(String value)
Parse a service date from a string in "YYYYMMDD" format.
|
ServiceDate |
ServiceDate.previous() |
ServiceDate |
ServiceDate.shift(int numberOfDays) |
Modifier and Type | Method and Description |
---|---|
List<ServiceDate> |
CalendarServiceData.getServiceDatesForServiceId(FeedScopedId serviceId) |
Modifier and Type | Method and Description |
---|---|
int |
ServiceDate.compareTo(ServiceDate o) |
long |
ServiceDate.difference(ServiceDate serviceDate) |
Set<FeedScopedId> |
CalendarServiceData.getServiceIdsForDate(ServiceDate date) |
Modifier and Type | Method and Description |
---|---|
void |
CalendarServiceData.putServiceDatesForServiceId(FeedScopedId serviceId,
List<ServiceDate> serviceDates) |
Constructor and Description |
---|
ServiceDate(ServiceDate o) |
Modifier and Type | Field and Description |
---|---|
protected ServiceDate |
ServiceDay.serviceDate |
Modifier and Type | Field and Description |
---|---|
Map<FeedScopedId,Set<ServiceDate>> |
RoutingContext.serviceDatesByServiceId |
Modifier and Type | Method and Description |
---|---|
ServiceDate |
ServiceDay.getServiceDate()
Return the ServiceDate for this ServiceDay.
|
Constructor and Description |
---|
ServiceDay(Graph graph,
ServiceDate serviceDate,
CalendarService cs,
String agencyId) |
ServiceDay(Graph graph,
ServiceDate serviceDate,
CalendarService cs,
TimeZone timeZone) |
Modifier and Type | Field and Description |
---|---|
ServiceDate |
Timetable.serviceDate
The ServiceDate for which this (updated) timetable is valid.
|
Modifier and Type | Method and Description |
---|---|
ServiceDate |
TimetableSnapshot.TripIdAndServiceDate.getServiceDate() |
Modifier and Type | Method and Description |
---|---|
TripTimes |
Timetable.createUpdatedTripTimes(GtfsRealtime.TripUpdate tripUpdate,
TimeZone timeZone,
ServiceDate updateServiceDate)
Apply the TripUpdate to the appropriate TripTimes from this Timetable.
|
TripPattern |
TimetableSnapshot.getLastAddedTripPattern(String feedId,
String tripId,
ServiceDate serviceDate)
Get the last added trip pattern given a trip id (without agency) and a service date as
a result of a call to
TimetableSnapshot.update(String feedId, TripPattern, TripTimes, ServiceDate) with trip times of
a trip that didn't exist yet in the trip pattern. |
boolean |
Timetable.isValidFor(ServiceDate serviceDate) |
boolean |
TimetableSnapshot.purgeExpiredData(ServiceDate serviceDate)
Removes all Timetables which are valid for a ServiceDate on-or-before the one supplied.
|
Timetable |
TimetableSnapshot.resolve(TripPattern pattern,
ServiceDate serviceDate)
Returns an updated timetable for the specified pattern if one is available in this snapshot,
or the originally scheduled timetable if there are no updates in this snapshot.
|
boolean |
TimetableSnapshot.update(String feedId,
TripPattern pattern,
TripTimes updatedTripTimes,
ServiceDate serviceDate)
Update the trip times of one trip in a timetable of a trip pattern.
|
Constructor and Description |
---|
TripIdAndServiceDate(String feedId,
String tripId,
ServiceDate serviceDate) |
Modifier and Type | Method and Description |
---|---|
List<StopTimesInPattern> |
GraphIndex.getStopTimesForStop(Stop stop,
ServiceDate serviceDate,
boolean omitNonPickups)
Get a list of all trips that pass through a stop during a single ServiceDate.
|
BitSet |
GraphIndex.servicesRunning(ServiceDate date)
An OBA Service Date is a local date without timezone, only year month and day.
|
Modifier and Type | Method and Description |
---|---|
Trip |
GtfsRealtimeFuzzyTripMatcher.getTrip(Route route,
int direction,
int startTime,
ServiceDate date) |
Modifier and Type | Field and Description |
---|---|
protected ServiceDate |
TimetableSnapshotSource.lastPurgeDate |
Copyright © 2019. All rights reserved.