Is it ncessary to use Regex to check date sanity in addition to SimpleDateFormat.parse?

后端 未结 0 999
谎友^
谎友^ 2021-01-17 06:08

I\'ve seen the following code and I\'m confused about the use of Regex here. The requirement of this checkDateSanity method is:

The DATE format is dd.MM.

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