Enum Class IDateUtil.Formats

java.lang.Object
java.lang.Enum<IDateUtil.Formats>
pro.eng.yui.yuiframe.utils.IDateUtil.Formats
All Implemented Interfaces:
Serializable, Comparable<IDateUtil.Formats>, Constable
Enclosing interface:
IDateUtil

public static enum IDateUtil.Formats extends Enum<IDateUtil.Formats>
DateFormats
  • Enum Constant Details

    • YYYYMMDD

      public static final IDateUtil.Formats YYYYMMDD
      yyyyMMdd style format
    • YYYYMMDD_slash

      public static final IDateUtil.Formats YYYYMMDD_slash
      yyyy/MM/dd style format
    • YYYYMMDD_hyphen

      public static final IDateUtil.Formats YYYYMMDD_hyphen
      yyyy-MM-dd style format
    • YMDHMS

      public static final IDateUtil.Formats YMDHMS
      yyyyMMddHHmmss(14digit) style format
    • YMDHMS_slSpCr

      public static final IDateUtil.Formats YMDHMS_slSpCr
      yyyy/MM/dd HH:mm:ss style format
    • HHMMSSsss

      public static final IDateUtil.Formats HHMMSSsss
      HHmmssSSS style format
    • HHMMSS_coron

      public static final IDateUtil.Formats HHMMSS_coron
      HH:mm:ss style format
    • HHMMSS

      public static final IDateUtil.Formats HHMMSS
      HHmmss style format
    • HHMMSS_cr_sss

      public static final IDateUtil.Formats HHMMSS_cr_sss
      HH:mm:ss.SSS style format
  • Method Details

    • values

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

      public static IDateUtil.Formats 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.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null
    • getSDF

      public SimpleDateFormat getSDF()