|
@@ -310,9 +310,11 @@ public class DateUtils {
|
|
|
// LocalDateTime parse2 = DateUtils.parse("20150613152610");
|
|
|
// System.out.println(betweenTwoTime(parse1, parse2, ChronoUnit.HOURS));
|
|
|
// test1();
|
|
|
- String time = "20210913162100";
|
|
|
- Date date = parseDate(time);
|
|
|
- System.out.println(date);
|
|
|
+// String time = "20211229181500";
|
|
|
+// Date date = parseDate(time);
|
|
|
+// System.out.println(date);
|
|
|
+
|
|
|
+ System.out.println(betweenTwoTimeSecond("20211228224500", "20211229083000"));
|
|
|
|
|
|
}
|
|
|
|