Enum Class Zodiac

java.lang.Object
java.lang.Enum<Zodiac>
spring.turbo.bean.Zodiac
所有已实现的接口:
Serializable, Comparable<Zodiac>, Constable

public enum Zodiac extends Enum<Zodiac>
黄道十二宫
从以下版本开始:
1.1.4
作者:
应卓
另请参阅:
  • 枚举常量详细资料

    • ARIES

      public static final Zodiac ARIES
      白羊
    • TAURUS

      public static final Zodiac TAURUS
      金牛
    • GEMINI

      public static final Zodiac GEMINI
      双子
    • CANCER

      public static final Zodiac CANCER
      巨蟹
    • LEO

      public static final Zodiac LEO
      狮子
    • VIRGO

      public static final Zodiac VIRGO
      处女
    • LIBRA

      public static final Zodiac LIBRA
      天秤
    • SCORPIO

      public static final Zodiac SCORPIO
      天蝎
    • SAGITTARIUS

      public static final Zodiac SAGITTARIUS
      人马
    • CAPRICORN

      public static final Zodiac CAPRICORN
      摩羯
    • AQUARIUS

      public static final Zodiac AQUARIUS
      水瓶
    • PISCES

      public static final Zodiac PISCES
      双鱼
  • 方法详细资料

    • values

      public static Zodiac[] 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 Zodiac 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 - 如果参数为空值
    • getZodiac

      public static Zodiac getZodiac(int month, int day)