mirror of
https://gitlab.com/oeffi/public-transport-enabler.git
synced 2025-07-14 08:40:29 +00:00
AbstractHafasClientInterfaceProvider: Skip cancelled departures on jsonStationBoard().
This commit is contained in:
parent
c4576c399e
commit
4affd18885
1 changed files with 4 additions and 0 deletions
|
@ -303,6 +303,10 @@ public abstract class AbstractHafasClientInterfaceProvider extends AbstractHafas
|
|||
final JSONObject jny = jnyList.getJSONObject(iJny);
|
||||
final JSONObject stbStop = jny.getJSONObject("stbStop");
|
||||
|
||||
final boolean cancelled = stbStop.optBoolean("dCncl", false);
|
||||
if (cancelled)
|
||||
continue;
|
||||
|
||||
final String stbStopPlatformS = stbStop.optString("dPlatfS", null);
|
||||
c.clear();
|
||||
ParserUtils.parseIsoDate(c, jny.getString("date"));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue