Enum Class FormatSource

java.lang.Object
java.lang.Enum<FormatSource>
com.independentsoft.office.odf.styles.FormatSource
All Implemented Interfaces:
Serializable, Comparable<FormatSource>, Constable

public enum FormatSource extends Enum<FormatSource>
Represents the source of definitions of the short and long display formats.
  • Enum Constant Details

    • FIXED

      public static final FormatSource FIXED
      The values short and long o are defined by this standard.
    • LANGUAGE

      public static final FormatSource LANGUAGE
      The meaning of the values long and short depend upon the language and country of the date style. If neither of those attributes are specified, consumers should use their default locale for short and long date and time formats.
    • NONE

      public static final FormatSource NONE
      None.
  • Method Details

    • values

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