Enum Class的使用
com.yuzhyn.azylee.core.datas.datetimes.DateTimeFormatPattern
使用DateTimeFormatPattern的程序包
-
com.yuzhyn.azylee.core.datas.datetimes中DateTimeFormatPattern的使用
修饰符和类型方法说明static DateTimeFormatPatternReturns the enum constant of this class with the specified name.static DateTimeFormatPattern[]DateTimeFormatPattern.values()Returns an array containing the constants of this enum class, in the order they are declared.修饰符和类型方法说明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) 按照指定格式格式化日期时间