Class WeeksOfMonth
java.lang.Object
com.azure.core.util.ExpandableStringEnum<WeeksOfMonth>
com.azure.resourcemanager.costmanagement.models.WeeksOfMonth
Weeks of month.
-
Field Summary
Modifier and TypeFieldDescriptionstatic final WeeksOfMonth
Static value First for WeeksOfMonth.static final WeeksOfMonth
Static value Fourth for WeeksOfMonth.static final WeeksOfMonth
Static value Last for WeeksOfMonth.static final WeeksOfMonth
Static value Second for WeeksOfMonth.static final WeeksOfMonth
Static value Third for WeeksOfMonth. -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic WeeksOfMonth
fromString
(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.