Enum Class SexagesimalName.Stem

java.lang.Object
java.lang.Enum<SexagesimalName.Stem>
net.time4j.calendar.SexagesimalName.Stem
All Implemented Interfaces:
Serializable, Comparable<SexagesimalName.Stem>, java.lang.constant.Constable
Enclosing class:
SexagesimalName

public static enum SexagesimalName.Stem extends Enum<SexagesimalName.Stem>

Defines the ten celestial stems.

  • Enum Constant Details

  • Method Details

    • values

      public static SexagesimalName.Stem[] 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 SexagesimalName.Stem 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
    • getDisplayName

      public String getDisplayName(Locale locale)

      Obtains the localized name of this celestial stem.

      Parameters:
      locale - language
      Returns:
      display name
      See Also:
      SexagesimalName.getDisplayName(Locale)