Timings added
This commit is contained in:
parent
98b4d4b322
commit
1e2d4aceb7
1 changed files with 7 additions and 0 deletions
|
@ -6,6 +6,13 @@ import java.text.NumberFormat;
|
||||||
import java.util.*;
|
import java.util.*;
|
||||||
|
|
||||||
public class CSVStreamSchedulesProvider {
|
public class CSVStreamSchedulesProvider {
|
||||||
|
private static final HashMap<String, int[]> timings = new HashMap<String, int[]>(){{
|
||||||
|
put("Bus", new int[]{11, 8, 7});
|
||||||
|
put("Funicular", new int[]{15, 25, 20});
|
||||||
|
put("Tram", new int[]{6, 7, 8, 9});
|
||||||
|
put("Rail", new int[]{10, 11,15,12});
|
||||||
|
put("Subway", new int[]{4, 2, 6,3,3,4});
|
||||||
|
}};
|
||||||
private static final NumberFormat MINUTES_SECOND_FORMATTER = NumberFormat
|
private static final NumberFormat MINUTES_SECOND_FORMATTER = NumberFormat
|
||||||
.getInstance(Locale.ENGLISH);
|
.getInstance(Locale.ENGLISH);
|
||||||
|
|
||||||
|
|
Reference in a new issue