Class DayOfWeek

  • All Implemented Interfaces:
    Visitable

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

      • MON

        public static final DayOfWeek MON
        Monday

        Monday.

      • TUE

        public static final DayOfWeek TUE
        Tuesday

        Tuesday.

      • WED

        public static final DayOfWeek WED
        Wednesday

        Wednesday.

      • THU

        public static final DayOfWeek THU
        Thursday

        Thursday.

      • FRI

        public static final DayOfWeek FRI
        Friday

        Friday.

      • SAT

        public static final DayOfWeek SAT
        Saturday

        Saturday.

      • SUN

        public static final DayOfWeek SUN
        Sunday

        Sunday.

    • Method Detail

      • of

        public static DayOfWeek of​(DayOfWeek.ValueSet value)
        Factory method for creating DayOfWeek objects from a passed enum value.
      • of

        public static DayOfWeek of​(String value)
        Factory method for creating DayOfWeek 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 DayOfWeek 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 DayOfWeek 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