@@ -0,0 +1,370 @@
+package com.dw.lib;%0A%0Aimport java.time.LocalDateTime;%0A%0Apublic class TimeStringToDate %7B%0A%09//2017-03-30T12:00:00.000Z%0A%09%0A%09public static void main(String%5B%5D args) %7B%0A%09%09String strTime = %222017-03-30T12:00:00.000%22;%0A%09%09%09%0A%09%09LocalDateTime dt = LocalDateTime.parse(strTime);%0A%09%09%0A%09%09System.out.println(String.format(%22%25s-%25s-%25s%22, dt.getDayOfMonth(), dt.getMonthValue(), dt.getYear()));%0A%09%7D%0A%7D%0A

add Java DateTime