Enum Class DayEnum

java.lang.Object
java.lang.Enum<DayEnum>
org.opfab.cards.model.DayEnum
All Implemented Interfaces:
Serializable, Comparable<DayEnum>, Constable

public enum DayEnum extends Enum<DayEnum>
Defines the days of the week
MO
TU
WE
TH
FR
SA
SU
Note : This enum is created by hand because Swagger can't handle enums. It should match the corresponding enum definition in the Cards API.
  • Enum Constant Details

    • MO

      public static final DayEnum MO
    • TU

      public static final DayEnum TU
    • WE

      public static final DayEnum WE
    • TH

      public static final DayEnum TH
    • FR

      public static final DayEnum FR
    • SA

      public static final DayEnum SA
    • SU

      public static final DayEnum SU
  • Method Details

    • values

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