java.lang.Object
com.azure.core.util.ExpandableStringEnum<Month>
com.azure.resourcemanager.dataprotection.models.Month

public final class Month extends com.azure.core.util.ExpandableStringEnum<Month>
Defines values for Month.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final Month
    Static value April for Month.
    static final Month
    Static value August for Month.
    static final Month
    Static value December for Month.
    static final Month
    Static value February for Month.
    static final Month
    Static value January for Month.
    static final Month
    Static value July for Month.
    static final Month
    Static value June for Month.
    static final Month
    Static value March for Month.
    static final Month
    Static value May for Month.
    static final Month
    Static value November for Month.
    static final Month
    Static value October for Month.
    static final Month
    Static value September for Month.
  • Constructor Summary

    Constructors
    Constructor
    Description
    Deprecated.
    Use the fromString(String) factory method.
  • Method Summary

    Modifier and Type
    Method
    Description
    static Month
    Creates or finds a Month from its string representation.
    Gets known Month values.

    Methods inherited from class com.azure.core.util.ExpandableStringEnum

    equals, fromString, hashCode, toString, values

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait
  • Field Details

    • APRIL

      public static final Month APRIL
      Static value April for Month.
    • AUGUST

      public static final Month AUGUST
      Static value August for Month.
    • DECEMBER

      public static final Month DECEMBER
      Static value December for Month.
    • FEBRUARY

      public static final Month FEBRUARY
      Static value February for Month.
    • JANUARY

      public static final Month JANUARY
      Static value January for Month.
    • JULY

      public static final Month JULY
      Static value July for Month.
    • JUNE

      public static final Month JUNE
      Static value June for Month.
    • MARCH

      public static final Month MARCH
      Static value March for Month.
    • MAY

      public static final Month MAY
      Static value May for Month.
    • NOVEMBER

      public static final Month NOVEMBER
      Static value November for Month.
    • OCTOBER

      public static final Month OCTOBER
      Static value October for Month.
    • SEPTEMBER

      public static final Month SEPTEMBER
      Static value September for Month.
  • Constructor Details

  • Method Details

    • fromString

      public static Month fromString(String name)
      Creates or finds a Month from its string representation.
      Parameters:
      name - a name to look for.
      Returns:
      the corresponding Month.
    • values

      public static Collection<Month> values()
      Gets known Month values.
      Returns:
      known Month values.