DateTimeFormatter的常见方法 1.创建一个日期时间格式化器对象 2.对时间进行格式化(正向格式化) 3.格式化时间,其实还有一种方法(反向格式化) 4.解析时间:解析时间一般使用LocalDateTime提供的解析方法来解析 LocalDateTime提供的格式化、解析时间的方法