Using yyyy/MM/dd simpledateformat can pass non-date String to Date

后端 未结 0 856
被撕碎了的回忆
被撕碎了的回忆 2020-12-24 11:39

I\'m using this SimpleDateFormat yyyy/MM/dd to pass a date value from String to Date. But there is this issue: when I input a non-date value, like 2020/12/2x, it will return

相关标签:
回答
  • 消灭零回复
提交回复
热议问题