private List<ArrivalAndDepartureInstance> getDeparturesInTimeRange(State s0,
long fromTime, long toTime) {
boolean useRealtime = false;
TraverseOptions options = s0.getOptions();
OBATraverseOptions config = options.getExtension(OBATraverseOptions.class);
if (config != null)
useRealtime = config.useRealtime;
ArrivalAndDepartureService service = _context.getArrivalAndDepartureService();