| Package | Description |
|---|---|
| org.onebusaway.gtfs.impl.calendar | |
| org.onebusaway.gtfs.model.calendar | |
| org.onebusaway.gtfs.services.calendar |
| Modifier and Type | Method and Description |
|---|---|
LocalizedServiceId |
CalendarServiceImpl.getLocalizedServiceIdForAgencyAndServiceId(String agencyId,
AgencyAndId serviceId) |
| Modifier and Type | Method and Description |
|---|---|
Map<LocalizedServiceId,List<Date>> |
CalendarServiceImpl.getNextDepartureServiceDates(ServiceIdIntervals serviceIdIntervals,
long targetTime) |
Map<LocalizedServiceId,List<Date>> |
CalendarServiceImpl.getPreviousArrivalServiceDates(ServiceIdIntervals serviceIdIntervals,
long targetTime) |
Map<LocalizedServiceId,List<Date>> |
CalendarServiceImpl.getServiceDateArrivalsWithinRange(ServiceIdIntervals serviceIdIntervals,
Date from,
Date to) |
Map<LocalizedServiceId,List<Date>> |
CalendarServiceImpl.getServiceDateDeparturesWithinRange(ServiceIdIntervals serviceIdIntervals,
Date from,
Date to) |
Map<LocalizedServiceId,List<Date>> |
CalendarServiceImpl.getServiceDatesWithinRange(ServiceIdIntervals serviceIdIntervals,
Date from,
Date to) |
| Modifier and Type | Method and Description |
|---|---|
Set<LocalizedServiceId> |
CalendarServiceData.getLocalizedServiceIds() |
Set<LocalizedServiceId> |
ServiceIdIntervals.getServiceIds() |
Iterator<Map.Entry<LocalizedServiceId,ServiceInterval>> |
ServiceIdIntervals.iterator() |
| Modifier and Type | Method and Description |
|---|---|
void |
ServiceIdIntervals.addStopTime(LocalizedServiceId serviceId,
int arrivalTime,
int departureTime) |
int |
LocalizedServiceId.compareTo(LocalizedServiceId o) |
List<Date> |
CalendarServiceData.getDatesForLocalizedServiceId(LocalizedServiceId serviceId) |
ServiceInterval |
ServiceIdIntervals.getIntervalForServiceId(LocalizedServiceId serviceId) |
void |
CalendarServiceData.putDatesForLocalizedServiceId(LocalizedServiceId serviceId,
List<Date> dates) |
| Modifier and Type | Method and Description |
|---|---|
LocalizedServiceId |
CalendarService.getLocalizedServiceIdForAgencyAndServiceId(String agencyId,
AgencyAndId serviceId)
Given an agency id and a service id, we return a
LocalizedServiceId
which is just a service id with timezone information attached. |
| Modifier and Type | Method and Description |
|---|---|
List<Date> |
CalendarService.getDatesForLocalizedServiceId(LocalizedServiceId localizedServiceId) |
List<Date> |
CalendarService.getNextDepartureServiceDates(LocalizedServiceId serviceId,
ServiceInterval interval,
long targetTime)
Computes the list of service dates whose departure service interval (min to
max departure time) overlaps the specified target time.
|
List<Date> |
CalendarService.getPreviousArrivalServiceDates(LocalizedServiceId serviceId,
ServiceInterval interval,
long targetTime)
Computes the list of service dates whose arrival service interval (min to
max departure time) overlaps the specified target time.
|
List<Date> |
CalendarService.getServiceDateArrivalsWithinRange(LocalizedServiceId serviceId,
ServiceInterval interval,
Date from,
Date to)
See the description from
CalendarService.getServiceDatesWithinRange(LocalizedServiceId, ServiceInterval, Date, Date)
. |
List<Date> |
CalendarService.getServiceDateDeparturesWithinRange(LocalizedServiceId serviceId,
ServiceInterval interval,
Date from,
Date to)
See the description from
CalendarService.getServiceDatesWithinRange(LocalizedServiceId, ServiceInterval, Date, Date)
. |
List<Date> |
CalendarService.getServiceDatesWithinRange(LocalizedServiceId serviceId,
ServiceInterval interval,
Date from,
Date to)
Given the specified localized service id, which has a corresponding set of
localized service dates, determine the sublist of service dates that, when
extended with the specified
ServiceInterval, overlap with the
specified from-to time range. |
boolean |
CalendarService.isLocalizedServiceIdActiveOnDate(LocalizedServiceId localizedServiceId,
Date serviceDate) |
Copyright © 2013 OneBusAway. All Rights Reserved.