Enum Class Fields.Date

java.lang.Object
java.lang.Enum<Fields.Date>
org.aoju.bus.core.lang.Fields.Date
All Implemented Interfaces:
Serializable, Comparable<Fields.Date>, Constable
Enclosing class:
Fields

public static enum Fields.Date extends Enum<Fields.Date>
日期信息
  • Enum Constant Details

    • TODAY

      public static final Fields.Date TODAY
      今天
    • TOMORROW

      public static final Fields.Date TOMORROW
      明天
    • NEXTWEEK

      public static final Fields.Date NEXTWEEK
      下周
    • NEXTMONTH

      public static final Fields.Date NEXTMONTH
      下月
    • NEXTYEAR

      public static final Fields.Date NEXTYEAR
      明年
    • YESTERDAY

      public static final Fields.Date YESTERDAY
      昨天
    • LASTWEEK

      public static final Fields.Date LASTWEEK
      上周
    • LASTMONTH

      public static final Fields.Date LASTMONTH
      上月
    • LASTYEAR

      public static final Fields.Date LASTYEAR
      去年
  • Method Details

    • values

      public static Fields.Date[] 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 Fields.Date 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
    • convertToMap

      public static Map<String,String> convertToMap()
    • getByCode

      public static Fields.Date getByCode(String code)
    • getKey

      public String getKey()
    • getName

      public String getName()