mirror of
https://gitlab.com/oeffi/public-transport-enabler.git
synced 2025-07-18 16:29:51 +00:00
fix timezone
git-svn-id: https://public-transport-enabler.googlecode.com/svn/trunk@376 0924bc21-9374-b0fa-ee44-9ff1593b38f0
This commit is contained in:
parent
102eef5f20
commit
bf182039ac
1 changed files with 7 additions and 0 deletions
|
@ -19,6 +19,7 @@ package de.schildbach.pte;
|
|||
import java.text.DateFormat;
|
||||
import java.text.SimpleDateFormat;
|
||||
import java.util.Date;
|
||||
import java.util.TimeZone;
|
||||
|
||||
import de.schildbach.pte.dto.Location;
|
||||
import de.schildbach.pte.util.ParserUtils;
|
||||
|
@ -31,6 +32,12 @@ public class DubProvider extends AbstractEfaProvider
|
|||
public static final String NETWORK_ID = "wojhati.rta.ae";
|
||||
private final static String API_BASE = "http://wojhati.rta.ae/dub/";
|
||||
|
||||
@Override
|
||||
protected TimeZone timeZone()
|
||||
{
|
||||
return TimeZone.getTimeZone("Asia/Dubai");
|
||||
}
|
||||
|
||||
public boolean hasCapabilities(Capability... capabilities)
|
||||
{
|
||||
for (final Capability capability : capabilities)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue