I have some problem. I have json file with date, where I expect "2017-05-15T19:30:00+01:00".
I want validate date from server using SimpleDateFormat. I use this format: "yyyy-MM-dd'T'HH:mm:ssZ"
When I parse expected date all looks good, but if I have invalid date, for example, "15-05-2017T19:30:00+01:00" I also don't have parse exception.
What format I should use? Thanks.