枚举类的使用
com.yuzhyn.azylee.core.datas.datetimes.DateTimeFormatPattern
使用DateTimeFormatPattern的程序包
-
com.yuzhyn.azylee.core.datas.datetimes中DateTimeFormatPattern的使用
修饰符和类型方法说明static DateTimeFormatPattern返回带有指定名称的该类的枚举常量。static DateTimeFormatPattern[]DateTimeFormatPattern.values()返回包含该枚举类的常量的数组, 顺序与声明这些常量的顺序相同修饰符和类型方法说明static DateDateTool.parse(String s, DateTimeFormatPattern pattern) static LocalDateTimeLocalDateTimeTool.parse(String s, DateTimeFormatPattern pattern) static StringDateTimeFormat.toStr(LocalDate dateTime, DateTimeFormatPattern pattern) static StringDateTimeFormat.toStr(LocalDateTime dateTime, DateTimeFormatPattern pattern) 按照指定格式格式化日期时间static StringDateTimeFormat.toStr(Date date, DateTimeFormatPattern pattern) 按照指定格式格式化日期时间