mirror of
https://gitlab.com/oeffi/public-transport-enabler.git
synced 2025-07-21 01:39:51 +00:00
Migrate time zone from abstract method to simple property.
This commit is contained in:
parent
bff85b9f6c
commit
e691e7c2fb
16 changed files with 52 additions and 115 deletions
|
@ -17,8 +17,6 @@
|
|||
|
||||
package de.schildbach.pte;
|
||||
|
||||
import java.util.TimeZone;
|
||||
|
||||
/**
|
||||
* @author Andreas Schildbach
|
||||
*/
|
||||
|
@ -31,6 +29,7 @@ public class SydneyProvider extends AbstractEfaProvider
|
|||
{
|
||||
super(API_BASE);
|
||||
|
||||
setTimeZone("Australia/Sydney");
|
||||
setUseRouteIndexAsTripId(false);
|
||||
}
|
||||
|
||||
|
@ -39,12 +38,6 @@ public class SydneyProvider extends AbstractEfaProvider
|
|||
return NETWORK_ID;
|
||||
}
|
||||
|
||||
@Override
|
||||
protected TimeZone timeZone()
|
||||
{
|
||||
return TimeZone.getTimeZone("Australia/Sydney");
|
||||
}
|
||||
|
||||
public boolean hasCapabilities(final Capability... capabilities)
|
||||
{
|
||||
for (final Capability capability : capabilities)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue