每天的三点
This commit is contained in:
@@ -54,7 +54,7 @@ public class AppletVo {
|
||||
SimpleDateFormat sdf =new SimpleDateFormat("yyyy-MM-dd");
|
||||
SimpleDateFormat sdf1 =new SimpleDateFormat("yyyy-MM-dd HH:mm:ss");
|
||||
LocalDate today = LocalDate.now(); // 获取今天的日期
|
||||
LocalTime timeOfDay = LocalTime.of(16, 0); // 设置下午4点的小时数为16,分钟数为0
|
||||
LocalTime timeOfDay = LocalTime.of(15, 0); // 设置下午3点的小时数为15,分钟数为0
|
||||
LocalDateTime dateAndTime = LocalDateTime.of(today, timeOfDay); // 将日期和时间合并成完整的日期时间对象
|
||||
|
||||
ZoneId zoneId = ZoneId.systemDefault();
|
||||
|
||||
Reference in New Issue
Block a user