Class DaysOfWeek

  • All Implemented Interfaces:
    Visitable

    @Generated("com.ibm.fhir.tools.CodeGenerator")
    public class DaysOfWeek
    extends Code
    • Field Detail

      • MON

        public static final DaysOfWeek MON
        Monday

        Monday.

      • TUE

        public static final DaysOfWeek TUE
        Tuesday

        Tuesday.

      • WED

        public static final DaysOfWeek WED
        Wednesday

        Wednesday.

      • THU

        public static final DaysOfWeek THU
        Thursday

        Thursday.

      • FRI

        public static final DaysOfWeek FRI
        Friday

        Friday.

      • SAT

        public static final DaysOfWeek SAT
        Saturday

        Saturday.

      • SUN

        public static final DaysOfWeek SUN
        Sunday

        Sunday.

    • Method Detail

      • of

        public static DaysOfWeek of​(String value)
        Factory method for creating DaysOfWeek objects from a passed string value.
        Parameters:
        value - A string that matches one of the allowed code values
        Throws:
        IllegalArgumentException - If the passed string cannot be parsed into an allowed code value
      • string

        public static String string​(String value)
        Inherited factory method for creating DaysOfWeek objects from a passed string value.
        Parameters:
        value - A string that matches one of the allowed code values
        Throws:
        IllegalArgumentException - If the passed string cannot be parsed into an allowed code value
      • code

        public static Code code​(String value)
        Inherited factory method for creating DaysOfWeek objects from a passed string value.
        Parameters:
        value - A string that matches one of the allowed code values
        Throws:
        IllegalArgumentException - If the passed string cannot be parsed into an allowed code value
      • equals

        public boolean equals​(Object obj)
        Overrides:
        equals in class Code
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Code