Generic Date Parser in Java
I wrote this function because I was working on an application that stored a lot of dates as text, and they were a mixture of American (MM/dd/yyyy) and New Zealand formats (dd/MM/yyy). Sometimes I knew what the format was, and other times I didn’t, so the method needed […]