Uses of Class
org.onebusaway.gtfs.model.calendar.ServiceInterval
-
Packages that use ServiceInterval Package Description org.onebusaway.gtfs.impl org.onebusaway.gtfs.impl.calendar org.onebusaway.gtfs.model.calendar org.onebusaway.gtfs.services.calendar -
-
Uses of ServiceInterval in org.onebusaway.gtfs.impl
Methods in org.onebusaway.gtfs.impl with parameters of type ServiceInterval Modifier and Type Method Description List<Date>GtfsDataServiceImpl. getNextDepartureServiceDates(LocalizedServiceId serviceId, ServiceInterval interval, long targetTime)List<Date>GtfsDataServiceImpl. getPreviousArrivalServiceDates(LocalizedServiceId serviceId, ServiceInterval interval, long targetTime)List<Date>GtfsDataServiceImpl. getServiceDateArrivalsWithinRange(LocalizedServiceId serviceId, ServiceInterval interval, Date from, Date to)List<Date>GtfsDataServiceImpl. getServiceDateDeparturesWithinRange(LocalizedServiceId serviceId, ServiceInterval interval, Date from, Date to)List<Date>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 ServiceInterval Modifier and Type Method Description intServiceIdOp. 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)List<Date>CalendarServiceImpl. getNextDepartureServiceDates(LocalizedServiceId serviceId, ServiceInterval interval, long targetTime)List<Date>CalendarServiceImpl. getPreviousArrivalServiceDates(LocalizedServiceId serviceId, ServiceInterval interval, long targetTime)List<Date>CalendarServiceImpl. getServiceDateArrivalsWithinRange(LocalizedServiceId serviceId, ServiceInterval interval, Date from, Date to)List<Date>CalendarServiceImpl. getServiceDateDeparturesWithinRange(LocalizedServiceId serviceId, ServiceInterval interval, Date from, Date to)List<Date>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.DateServiceIdOp. shiftTime(ServiceInterval interval, Date time) -
Uses of ServiceInterval in org.onebusaway.gtfs.model.calendar
Methods in org.onebusaway.gtfs.model.calendar that return ServiceInterval Modifier and Type Method Description ServiceIntervalServiceInterval. 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)ServiceIntervalServiceIdIntervals. getIntervalForServiceId(LocalizedServiceId serviceId)ServiceIntervalAgencyServiceInterval. getServiceInterval(String agencyId)Methods in org.onebusaway.gtfs.model.calendar that return types with arguments of type ServiceInterval Modifier and Type Method Description Iterator<Map.Entry<LocalizedServiceId,ServiceInterval>>ServiceIdIntervals. iterator()Methods in org.onebusaway.gtfs.model.calendar with parameters of type ServiceInterval Modifier and Type Method Description static 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 ServiceInterval Modifier and Type Method Description 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 fromCalendarService.getServiceDatesWithinRange(LocalizedServiceId, ServiceInterval, Date, Date).List<Date>CalendarService. getServiceDateDeparturesWithinRange(LocalizedServiceId serviceId, ServiceInterval interval, Date from, Date to)See the description fromCalendarService.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 specifiedServiceInterval, overlap with the specified from-to time range.booleanCalendarService. isLocalizedServiceIdActiveInRange(LocalizedServiceId localizedServiceId, ServiceInterval activeService, AgencyServiceInterval serviceInterval)
-