Enum Class DateTimeFormatPattern

java.lang.Object
java.lang.Enum<DateTimeFormatPattern>
com.yuzhyn.azylee.core.datas.datetimes.DateTimeFormatPattern
所有已实现的接口:
Serializable, Comparable<DateTimeFormatPattern>, Constable

public enum DateTimeFormatPattern extends Enum<DateTimeFormatPattern>
  • 枚举常量详细资料

    • SHORT_MONTH

      public static final DateTimeFormatPattern SHORT_MONTH
    • SHORT_YEAR_MONTH

      public static final DateTimeFormatPattern SHORT_YEAR_MONTH
      短年月
    • SHORT_DATE

      public static final DateTimeFormatPattern SHORT_DATE
      短日期:20201124
    • NORMAL_YEAR_MONTH

      public static final DateTimeFormatPattern NORMAL_YEAR_MONTH
      标准日期年月
    • NORMAL_DATE

      public static final DateTimeFormatPattern NORMAL_DATE
      标准日期:2020-11-24
    • SHORT_DATETIME

      public static final DateTimeFormatPattern SHORT_DATETIME
      短日期时间:20201124144000
    • NORMAL_DATETIME

      public static final DateTimeFormatPattern NORMAL_DATETIME
      标准日期时间:2020-11-24 14:40:00
    • NORMAL_DATETIME_SP

      public static final DateTimeFormatPattern NORMAL_DATETIME_SP
      标准日期时间SP:2020-1-4 1:4:0
    • NORMAL_DATETIME_MS

      public static final DateTimeFormatPattern NORMAL_DATETIME_MS
      标准日期时间-带毫秒:2020-11-24 14:40:00.659
    • NORMAL_TIME_MS

      public static final DateTimeFormatPattern NORMAL_TIME_MS
      标准时间-带毫秒:14:40:00.659
    • NORMAL_DATETIME_TIMEZONE

      public static final DateTimeFormatPattern NORMAL_DATETIME_TIMEZONE
      标准日期时间-带时区:2020-11-24T14:40:00+0800
  • 方法详细资料

    • values

      public static DateTimeFormatPattern[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      返回:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static DateTimeFormatPattern valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      参数:
      name - 要返回的枚举常量的名称。
      返回:
      返回带有指定名称的枚举常量
      抛出:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - 如果参数为空值
    • getDateTimePattern

      public static String[] getDateTimePattern()
    • getTimeZone

      public static String getTimeZone()
    • getPattern

      public String getPattern()
    • setPattern

      public void setPattern(String pattern)