Enum Class FormattedContent

java.lang.Object
java.lang.Enum<FormattedContent>
net.time4j.calendar.bahai.FormattedContent
All Implemented Interfaces:
Serializable, Comparable<FormattedContent>, java.lang.constant.Constable

public enum FormattedContent extends Enum<FormattedContent>
Controls the type of content to be formatted in the Badi calendar.
Since:
5.3
Author:
Meno Hochschild
See Also:
BadiMonth, BadiIntercalaryDays, BadiCalendar.YEAR_OF_VAHID
  • Enum Constant Details

    • TRANSCRIPTION

      public static final FormattedContent TRANSCRIPTION
      Mandates the usual way of transcription of element content in a given language.
    • MEANING

      public static final FormattedContent MEANING
      Calls for the meaning of element content in a given language.
    • HTML

      public static final FormattedContent HTML
      Mandates the HTML way of transcription of element content in a given language. Only relevant for a few languages like English, Spanish and Portuguese.
  • Method Details

    • values

      public static FormattedContent[] 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 FormattedContent 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