summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoman Gräf <roman.graef@gmail.com>2017-09-29 15:05:53 +0200
committerGitHub <noreply@github.com>2017-09-29 15:05:53 +0200
commit09a3ac0e199cf56ef7f477c831a2c40ecd02ca1a (patch)
tree83a837fb1b09716e79af73e0bd6de8878cc624ed
parent83c6669d60c7dadbdca3ed7c47e9415337fc096e (diff)
downloaddsb-api-master.tar.gz
dsb-api-master.tar.bz2
dsb-api-master.zip
Fixing my stupidity Pt. IHEADmaster
-rw-r--r--src/main/java/de/romjaki/dsbclient/UnUtil.java4
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;
}