摘要:
public class test{ public static void main(String[] arg){ DateTimeFormatter sdf = DateTimeFormatter.ofPattern("yyyy-MM-dd");//格式化 LocalDate time = Loc 阅读全文
摘要:
public class test{ public static void main(String[] arg){ //Date转为LocalDateTime DateTimeFormatter sdf1 = DateTimeFormatter.ofPattern("yyyy-MM-dd HH:mm 阅读全文
摘要:
//LocalDate转Date LocalDate nowLocalDate = LocalDate.now(); ZonedDateTime zonedDateTime = nowLocalDate.atStartOfDay(ZoneId.systemDefault()); Date srmPr 阅读全文