Enum X12GS05TimeFormat

java.lang.Object
java.lang.Enum<X12GS05TimeFormat>
software.amazon.awssdk.services.b2bi.model.X12GS05TimeFormat
All Implemented Interfaces:
Serializable, Comparable<X12GS05TimeFormat>

@Generated("software.amazon.awssdk:codegen") public enum X12GS05TimeFormat extends Enum<X12GS05TimeFormat>

Specifies the time format in the GS05 element (time) of the functional group header. The following formats use 24-hour clock time:

  • HHMM - Hours and minutes

  • HHMMSS - Hours, minutes, and seconds

  • HHMMSSDD - Hours, minutes, seconds, and decimal seconds

Where:

  • HH - Hours (00-23)

  • MM - Minutes (00-59)

  • SS - Seconds (00-59)

  • DD - Hundredths of seconds (00-99)

  • Enum Constant Details

  • Method Details

    • values

      public static X12GS05TimeFormat[] 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 X12GS05TimeFormat 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
    • toString

      public String toString()
      Overrides:
      toString in class Enum<X12GS05TimeFormat>
    • fromValue

      public static X12GS05TimeFormat fromValue(String value)
      Use this in place of valueOf to convert the raw string returned by the service into the enum value.
      Parameters:
      value - real value
      Returns:
      X12GS05TimeFormat corresponding to the value
    • knownValues

      public static Set<X12GS05TimeFormat> knownValues()
      Use this in place of values() to return a Set of all values known to the SDK. This will return all known enum values except UNKNOWN_TO_SDK_VERSION.
      Returns:
      a Set of known X12GS05TimeFormats