ParseException when parsing 3 character abbreviated month using SimpleDateFormat

前端 未结 5 522
说谎
说谎 2020-12-22 14:56

Here is my code,

SimpleDateFormat format = new SimpleDateFormat(\"dd-MM-yyyy HH:mm:ss\");
Date dft  = (Date) format.parse(\"16-MAY-2018 09:30:22:000\");
         


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