I have some different format of date to parse but I cannot recognize them with SimpleDateFormat. Can anybody help me to find patterns for this dates:
- 6 July 1892
- 9 May 1915
- February 335
- 1768-02-12
and
- 23 september 63 bc
- 19 august ad 14
Thanks
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
You just provide possibilities of patterns you want your dates to be parsed by and run through them finding the first matching.
Run solution.