Class WeeksOfMonth
java.lang.Object
com.azure.core.util.ExpandableStringEnum<WeeksOfMonth>
com.azure.resourcemanager.costmanagement.models.WeeksOfMonth
Weeks of month.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final WeeksOfMonthStatic value First for WeeksOfMonth.static final WeeksOfMonthStatic value Fourth for WeeksOfMonth.static final WeeksOfMonthStatic value Last for WeeksOfMonth.static final WeeksOfMonthStatic value Second for WeeksOfMonth.static final WeeksOfMonthStatic value Third for WeeksOfMonth. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic WeeksOfMonthfromString(String name) Creates or finds a WeeksOfMonth from its string representation.static Collection<WeeksOfMonth>values()Gets known WeeksOfMonth values.Methods inherited from class com.azure.core.util.ExpandableStringEnum
equals, fromString, hashCode, toString, values
-
Field Details
-
FIRST
Static value First for WeeksOfMonth. -
SECOND
Static value Second for WeeksOfMonth. -
THIRD
Static value Third for WeeksOfMonth. -
FOURTH
Static value Fourth for WeeksOfMonth. -
LAST
Static value Last for WeeksOfMonth.
-
-
Constructor Details
-
WeeksOfMonth
Deprecated.Use thefromString(String)factory method.Creates a new instance of WeeksOfMonth value.
-
-
Method Details
-
fromString
Creates or finds a WeeksOfMonth from its string representation.- Parameters:
name- a name to look for.- Returns:
- the corresponding WeeksOfMonth.
-
values
Gets known WeeksOfMonth values.- Returns:
- known WeeksOfMonth values.
-
fromString(String)factory method.