state, instance.getBlockStopTime());
long arrivalTime = schedule.getArrivalTime() + arrivalDeviation * 1000;
setPredictedArrivalTimeForInstance(instance, arrivalTime);
TimeIntervalBean predictedArrivalTimeInterval = computePredictedArrivalTimeInterval(
instance, blockLocation, targetTime);
instance.setPredictedArrivalInterval(predictedArrivalTimeInterval);
long departureTime = schedule.getDepartureTime() + departureDeviation
* 1000;
setPredictedDepartureTimeForInstance(instance, departureTime);
TimeIntervalBean predictedDepartureTimeInterval = computePredictedDepartureTimeInterval(
instance, blockLocation, targetTime);
instance.setPredictedDepartureInterval(predictedDepartureTimeInterval);
}