• -------------------------------------------------------------
  • ====================================

标签:时间操作

Java时间操作LocalDateTime

一、新时间日期 Api1.重要对象介绍LocalDate: 表示没有时区的日期, LocalDate 是不可变并且线程安全的LocalTime: 表示没有时区的时间, LocalTime 是不可变并且线程安全的LocalDateTime: 表示没有时区的日期时间, LocalDateTime是不可变并且线程安全的Instant: 用来表示时间线上……