mirror of
https://gitlab.com/oeffi/public-transport-enabler.git
synced 2025-07-13 00:08:49 +00:00
departures for Belgium
git-svn-id: https://public-transport-enabler.googlecode.com/svn/trunk@205 0924bc21-9374-b0fa-ee44-9ff1593b38f0
This commit is contained in:
parent
fe11283ff3
commit
b6d65bf8fd
1 changed files with 7 additions and 1 deletions
|
@ -15,11 +15,17 @@ import de.schildbach.pte.QueryDeparturesResult.Status;
|
|||
|
||||
public class SncbProvider implements NetworkProvider
|
||||
{
|
||||
public static final String NETWORK_ID = "hari.b-rail.be";
|
||||
|
||||
private static final long PARSER_DAY_ROLLOVER_THRESHOLD_MS = 12 * 60 * 60 * 1000;
|
||||
|
||||
public boolean hasCapabilities(final Capability... capabilities)
|
||||
{
|
||||
throw new UnsupportedOperationException();
|
||||
for (final Capability capability : capabilities)
|
||||
if (capability == Capability.DEPARTURES)
|
||||
return true;
|
||||
|
||||
return false;
|
||||
}
|
||||
|
||||
public List<Autocomplete> autocompleteStations(final CharSequence constraint) throws IOException
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue