handle cancelled departures

This commit is contained in:
Andreas Schildbach 2012-08-31 12:50:37 +02:00
parent 65ceab85d4
commit aa4b1517f5

View file

@ -635,7 +635,7 @@ public abstract class AbstractHafasProvider extends AbstractNetworkProvider
// TODO is_reachable // TODO is_reachable
// TODO disableTrainInfo // TODO disableTrainInfo
if (depStation == null) if (depStation == null && !"cancel".equals(eDelay))
{ {
final Calendar plannedTime = new GregorianCalendar(timeZone()); final Calendar plannedTime = new GregorianCalendar(timeZone());
plannedTime.clear(); plannedTime.clear();