标签:new out print mic exce sys ima date parse
1 @Test 2 public void test(){ 3 String strDate = "20191214"; 4 try { 5 Date date = new SimpleDateFormat("yyyyMMdd").parse(strDate); 6 System.out.println(date); 7 } catch (ParseException e) { 8 e.printStackTrace(); 9 } 10 11 }
标签:new out print mic exce sys ima date parse
原文地址:https://www.cnblogs.com/danhuai/p/12040648.html