java.lang.Object
com.azure.core.util.ExpandableStringEnum<WeeksOfMonth>
com.azure.resourcemanager.costmanagement.models.WeeksOfMonth

public final class WeeksOfMonth extends com.azure.core.util.ExpandableStringEnum<WeeksOfMonth>
Weeks of month.
  • Field Details

    • FIRST

      public static final WeeksOfMonth FIRST
      Static value First for WeeksOfMonth.
    • SECOND

      public static final WeeksOfMonth SECOND
      Static value Second for WeeksOfMonth.
    • THIRD

      public static final WeeksOfMonth THIRD
      Static value Third for WeeksOfMonth.
    • FOURTH

      public static final WeeksOfMonth FOURTH
      Static value Fourth for WeeksOfMonth.
    • LAST

      public static final WeeksOfMonth LAST
      Static value Last for WeeksOfMonth.
  • Constructor Details

    • WeeksOfMonth

      @Deprecated public WeeksOfMonth()
      Deprecated.
      Use the fromString(String) factory method.
      Creates a new instance of WeeksOfMonth value.
  • Method Details

    • fromString

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

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