Uses of Class
org.onebusaway.gtfs.model.calendar.ServiceInterval
Packages that use ServiceInterval
Package
Description
-
Uses of ServiceInterval in org.onebusaway.gtfs.impl
Methods in org.onebusaway.gtfs.impl with parameters of type ServiceIntervalModifier and TypeMethodDescriptionGtfsDataServiceImpl.getNextDepartureServiceDates(LocalizedServiceId serviceId, ServiceInterval interval, long targetTime) GtfsDataServiceImpl.getPreviousArrivalServiceDates(LocalizedServiceId serviceId, ServiceInterval interval, long targetTime) GtfsDataServiceImpl.getServiceDateArrivalsWithinRange(LocalizedServiceId serviceId, ServiceInterval interval, Date from, Date to) GtfsDataServiceImpl.getServiceDateDeparturesWithinRange(LocalizedServiceId serviceId, ServiceInterval interval, Date from, Date to) GtfsDataServiceImpl.getServiceDatesWithinRange(LocalizedServiceId serviceId, ServiceInterval interval, Date from, Date to) booleanGtfsDataServiceImpl.isLocalizedServiceIdActiveInRange(LocalizedServiceId serviceId, ServiceInterval scheduledService, AgencyServiceInterval serviceInterval) -
Uses of ServiceInterval in org.onebusaway.gtfs.impl.calendar
Methods in org.onebusaway.gtfs.impl.calendar with parameters of type ServiceIntervalModifier and TypeMethodDescriptionintServiceIdOp.compareInterval(ServiceInterval interval, Date serviceDate, Date from, Date to) Returns -1 if the service interval comes before the from-to interval.abstract intServiceIdOp.getFromTime(ServiceInterval interval) CalendarServiceImpl.getNextDepartureServiceDates(LocalizedServiceId serviceId, ServiceInterval interval, long targetTime) CalendarServiceImpl.getPreviousArrivalServiceDates(LocalizedServiceId serviceId, ServiceInterval interval, long targetTime) CalendarServiceImpl.getServiceDateArrivalsWithinRange(LocalizedServiceId serviceId, ServiceInterval interval, Date from, Date to) CalendarServiceImpl.getServiceDateDeparturesWithinRange(LocalizedServiceId serviceId, ServiceInterval interval, Date from, Date to) CalendarServiceImpl.getServiceDatesWithinRange(LocalizedServiceId serviceId, ServiceInterval interval, Date from, Date to) abstract intServiceIdOp.getToTime(ServiceInterval interval) booleanCalendarServiceImpl.isLocalizedServiceIdActiveInRange(LocalizedServiceId localizedServiceId, ServiceInterval activeService, AgencyServiceInterval agencyServiceInterval) test if the given calendar servieId is active in the union of the activeService window and the agencyServiceInterval.ServiceIdOp.shiftTime(ServiceInterval interval, Date time) -
Uses of ServiceInterval in org.onebusaway.gtfs.model.calendar
Methods in org.onebusaway.gtfs.model.calendar that return ServiceIntervalModifier and TypeMethodDescriptionServiceInterval.extend(int arrivalTime, int departureTime) Construct a newServiceIntervalby extending the current service interval, adjusting the arrival and departure intervals to include the additional arrival and departure time specified in the arguments.static ServiceIntervalServiceInterval.extend(ServiceInterval serviceInterval, int arrivalTime, int departureTime) ServiceIdIntervals.getIntervalForServiceId(LocalizedServiceId serviceId) AgencyServiceInterval.getServiceInterval(String agencyId) Methods in org.onebusaway.gtfs.model.calendar that return types with arguments of type ServiceIntervalMethods in org.onebusaway.gtfs.model.calendar with parameters of type ServiceIntervalModifier and TypeMethodDescriptionstatic ServiceIntervalServiceInterval.extend(ServiceInterval serviceInterval, int arrivalTime, int departureTime) -
Uses of ServiceInterval in org.onebusaway.gtfs.services.calendar
Methods in org.onebusaway.gtfs.services.calendar with parameters of type ServiceIntervalModifier and TypeMethodDescriptionCalendarService.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.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.CalendarService.getServiceDateArrivalsWithinRange(LocalizedServiceId serviceId, ServiceInterval interval, Date from, Date to) See the description fromCalendarService.getServiceDatesWithinRange(LocalizedServiceId, ServiceInterval, Date, Date).CalendarService.getServiceDateDeparturesWithinRange(LocalizedServiceId serviceId, ServiceInterval interval, Date from, Date to) See the description fromCalendarService.getServiceDatesWithinRange(LocalizedServiceId, ServiceInterval, Date, 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 specifiedServiceInterval, overlap with the specified from-to time range.booleanCalendarService.isLocalizedServiceIdActiveInRange(LocalizedServiceId localizedServiceId, ServiceInterval activeService, AgencyServiceInterval serviceInterval)