What's the nicest way to parse a date that can be in one of the following formats
"dd-MM-yyyy HH:mm"
"dd/MM/yyyy HH:mm"
"dd.MM.yyyy HH:mm"
without creating 3 SimpleDateFormats and parsing against each one.
Thanks
Could you run two replace operations first, so that you reduce all three formats to a single one?