mirror of
https://gitlab.com/oeffi/public-transport-enabler.git
synced 2025-07-21 01:39:51 +00:00
arrival times and predicted times for intermediate stops
This commit is contained in:
parent
afc4b4b096
commit
b37c63c333
4 changed files with 76 additions and 15 deletions
|
@ -31,7 +31,6 @@ import java.util.Set;
|
|||
import java.util.regex.Matcher;
|
||||
import java.util.regex.Pattern;
|
||||
|
||||
import de.schildbach.pte.NetworkProvider.Option;
|
||||
import de.schildbach.pte.dto.Connection;
|
||||
import de.schildbach.pte.dto.Departure;
|
||||
import de.schildbach.pte.dto.Line;
|
||||
|
@ -794,7 +793,7 @@ public final class BvgProvider extends AbstractHafasProvider
|
|||
if (lastTime != null && time.getTime().before(lastTime))
|
||||
time.add(Calendar.DAY_OF_YEAR, 1);
|
||||
lastTime = time.getTime();
|
||||
intermediateStops.add(new Stop(location(tStop), null, time.getTime()));
|
||||
intermediateStops.add(new Stop(location(tStop), null, null, null, time.getTime(), null));
|
||||
}
|
||||
|
||||
final Location arrival = location(tArr);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue