I am using the Joda library. My requirement is that the displayed date string is appropriate for the user's locale, i.e on a german device 12.12.2014 and on a american device 2014/12/12. I found that I can use the toString() Method of LocalDate.
LocalDate localDate = LocalDate.now();
localDate.toString("yyyy/MM/dd", Locale.getDefault());
If I understand right, I need to supply a pattern, but IMHO this defeats the purpose of specifying a locale.
Can anybody enlighten me?