常用方法总结获取当前时间// 当前日期:2020-09-27
LocalDate date = LocalDate.now();
// 当前时间:16:30:23.126
LocalTime time = LocalTime.now();
2020-09-27