Enum 천간

    • Enum Constant Detail

      • public static final 천간
      • public static final 천간
      • public static final 천간
      • public static final 천간
      • public static final 천간
      • public static final 천간
      • public static final 천간
      • public static final 천간
      • public static final 천간
      • public static final 천간
    • Field Detail

      • 天干

        public final 天干 天干
    • Method Detail

      • values

        public static 천간[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (천간 c : 천간.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static 천간 valueOf​(String name)
        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified name
        NullPointerException - if the argument is null
      • ofName

        public static 천간 ofName​(String name)
        Returns the constant of specified name. This method, unlikely to valueOf(String) method, uses a cache.
        Parameters:
        name - the name.
        Returns:
        the constant associated with name.
      • of

        public static 천간 of​(天干 天干)
        Returns the constant for specified 天干.
        Parameters:
        \u5929\u5e72 - the 天干.
        Returns:
        the constant associated with name.