类的用途
java.time.format.DateTimeFormatter

使用 DateTimeFormatter 的包
描述
日期、时间、瞬间和持续时间的主要 API。
用于除默认 ISO 之外的日历系统的通用 API。
提供类来打印和解析日期和时间。