diff options
author | Roman Gräf <roman.graef@gmail.com> | 2017-09-29 15:05:53 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-09-29 15:05:53 +0200 |
commit | 09a3ac0e199cf56ef7f477c831a2c40ecd02ca1a (patch) | |
tree | 83a837fb1b09716e79af73e0bd6de8878cc624ed | |
parent | 83c6669d60c7dadbdca3ed7c47e9415337fc096e (diff) | |
download | dsb-api-09a3ac0e199cf56ef7f477c831a2c40ecd02ca1a.tar.gz dsb-api-09a3ac0e199cf56ef7f477c831a2c40ecd02ca1a.tar.bz2 dsb-api-09a3ac0e199cf56ef7f477c831a2c40ecd02ca1a.zip |
-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; } |