|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use ServiceInterval | |
|---|---|
| org.onebusaway.gtfs.impl.calendar | |
| org.onebusaway.gtfs.model.calendar | |
| org.onebusaway.gtfs.services.calendar | |
| Uses of ServiceInterval in org.onebusaway.gtfs.impl.calendar |
|---|
| Methods in org.onebusaway.gtfs.impl.calendar with parameters of type ServiceInterval | |
|---|---|
int |
ServiceIdOp.compareInterval(ServiceInterval interval,
Date serviceDate,
Date from,
Date to)
Returns -1 if the service interval comes before the from-to interval. |
abstract int |
ServiceIdOp.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 int |
ServiceIdOp.getToTime(ServiceInterval interval)
|
Date |
ServiceIdOp.shiftTime(ServiceInterval interval,
Date time)
|
| Uses of ServiceInterval in org.onebusaway.gtfs.model.calendar |
|---|
| Methods in org.onebusaway.gtfs.model.calendar that return ServiceInterval | |
|---|---|
ServiceInterval |
ServiceInterval.extend(int arrivalTime,
int departureTime)
Construct a new ServiceInterval by extending the current service
interval, adjusting the arrival and departure intervals to include the
additional arrival and departure time specified in the arguments. |
static ServiceInterval |
ServiceInterval.extend(ServiceInterval serviceInterval,
int arrivalTime,
int departureTime)
|
ServiceInterval |
ServiceIdIntervals.getIntervalForServiceId(LocalizedServiceId serviceId)
|
| Methods in org.onebusaway.gtfs.model.calendar that return types with arguments of type ServiceInterval | |
|---|---|
Iterator<Map.Entry<LocalizedServiceId,ServiceInterval>> |
ServiceIdIntervals.iterator()
|
| Methods in org.onebusaway.gtfs.model.calendar with parameters of type ServiceInterval | |
|---|---|
static ServiceInterval |
ServiceInterval.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 | |
|---|---|
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. |
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||