diff options
-rw-r--r-- | src/main/java/de/romjaki/dsbclient/UnUtil.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main/java/de/romjaki/dsbclient/UnUtil.java b/src/main/java/de/romjaki/dsbclient/UnUtil.java index 2c3af02..f65becf 100644 --- a/src/main/java/de/romjaki/dsbclient/UnUtil.java +++ b/src/main/java/de/romjaki/dsbclient/UnUtil.java @@ -20,8 +20,8 @@ public class UnUtil { UnUtil.singleton(UnUtil.class); } - public static Calendar calendarByDate(Date date, Locale germany) { - Calendar calendar = Calendar.getInstance(Locale.GERMANY); + public static Calendar calendarByDate(Date date, Locale locale) { + Calendar calendar = Calendar.getInstance(locale); calendar.setTime(date); return calendar; } |