-
Notifications
You must be signed in to change notification settings - Fork 138
Open
Description
Hi there.
NetworkProvider.queryDeparture()
, specifies @Nullable Date time
, but you depend on that parameter to be set to a value in DbProvider
:
public-transport-enabler/src/de/schildbach/pte/DbProvider.java
Lines 654 to 661 in 04e6b0c
public QueryDeparturesResult queryDepartures(String stationId, @Nullable Date time, int maxDepartures, | |
boolean equivs) | |
throws IOException { | |
// TODO only 1 hour of results returned, find secret parameter? | |
if (maxDepartures == 0) | |
maxDepartures = DEFAULT_MAX_DEPARTURES; | |
final Calendar c = new GregorianCalendar(timeZone); | |
c.setTime(time); |
Metadata
Metadata
Assignees
Labels
No labels