Class Month
java.lang.Object
com.azure.core.util.ExpandableStringEnum<Month>
com.azure.resourcemanager.dataprotection.models.Month
Defines values for Month.
-
Field Summary
Modifier and TypeFieldDescriptionstatic 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
-
Method Summary
Modifier and TypeMethodDescriptionstatic Month
fromString
(String name) Creates or finds a Month from its string representation.static Collection<Month>
values()
Gets known Month values.Methods inherited from class com.azure.core.util.ExpandableStringEnum
equals, fromString, hashCode, toString, values
-
Field Details
-
APRIL
Static value April for Month. -
AUGUST
Static value August for Month. -
DECEMBER
Static value December for Month. -
FEBRUARY
Static value February for Month. -
JANUARY
Static value January for Month. -
JULY
Static value July for Month. -
JUNE
Static value June for Month. -
MARCH
Static value March for Month. -
MAY
Static value May for Month. -
NOVEMBER
Static value November for Month. -
OCTOBER
Static value October for Month. -
SEPTEMBER
Static value September for Month.
-
-
Constructor Details
-
Month
Deprecated.Use thefromString(String)
factory method.Creates a new instance of Month value.
-
-
Method Details
-
fromString
Creates or finds a Month from its string representation.- Parameters:
name
- a name to look for.- Returns:
- the corresponding Month.
-
values
Gets known Month values.- Returns:
- known Month values.
-
fromString(String)
factory method.