Enum Duration

java.lang.Object
java.lang.Enum<Duration>
com.studerw.tda.model.account.Duration
All Implemented Interfaces:
Serializable, Comparable<Duration>, java.lang.constant.Constable

public enum Duration extends Enum<Duration>
  • Enum Constant Details

    • DAY

      public static final Duration DAY
    • GOOD_TILL_CANCEL

      public static final Duration GOOD_TILL_CANCEL
    • FILL_OR_KILL

      public static final Duration FILL_OR_KILL
  • Method Details

    • values

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