I want to display a hint how a date should be entered. For Germany it might look like
"Enter date in this format: dd.mm.yyy"
For the US
"Enter date in this format: mm/dd/yyyy"
I understand that with
DateFormat dateFormat = android.text.format.DateFormat.getDateFormat(context);
I can convert a date into a format matching the user's locale. But how would I get the day/month/year string for the hint?
And of course I would want the similar thing with a hint for time, too.
Thanks for any suggestions.