Enum TimeZoneFormat.GMTOffsetPatternType

java.lang.Object
java.lang.Enum<TimeZoneFormat.GMTOffsetPatternType>
com.ibm.icu.text.TimeZoneFormat.GMTOffsetPatternType
All Implemented Interfaces:
Serializable, Comparable<TimeZoneFormat.GMTOffsetPatternType>, java.lang.constant.Constable
Enclosing class:
TimeZoneFormat

public static enum TimeZoneFormat.GMTOffsetPatternType extends Enum<TimeZoneFormat.GMTOffsetPatternType>
Offset pattern type enum.
See Also:
  • Enum Constant Details

  • Field Details

    • _defaultPattern

      private String _defaultPattern
    • _required

      private String _required
    • _isPositive

      private boolean _isPositive
  • Constructor Details

    • GMTOffsetPatternType

      private GMTOffsetPatternType(String defaultPattern, String required, boolean isPositive)
  • Method Details

    • values

      public static TimeZoneFormat.GMTOffsetPatternType[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      Returns:
      an array containing the constants of this enum type, in the order they are declared
    • valueOf

      public static TimeZoneFormat.GMTOffsetPatternType 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
    • defaultPattern

      private String defaultPattern()
    • required

      private String required()
    • isPositive

      private boolean isPositive()