How to check A string Matches a certain date format ?? JAVA

后端 未结 0 1324
攒了一身酷
攒了一身酷 2020-12-08 06:48

The screen formate should be:

"dd-MM-yyyy HH:mm"

So far is have

 try
        {
            boolean correct = false;
         


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