SimpleDateFormat returns strange date with invalid date string

后端 未结 2 1406
我寻月下人不归
我寻月下人不归 2021-01-16 07:26

I try to parse time formating string ,now when I parse string \"2014-01-07 95:25:37\" , it return a date ,not throw ParseException . who know how to let it throw ParseExcept

2条回答
提交回复
热议问题