Class Month
- 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 Month
APRIL
Static value April for Month.static Month
AUGUST
Static value August for Month.static Month
DECEMBER
Static value December for Month.static Month
FEBRUARY
Static value February for Month.static Month
JANUARY
Static value January for Month.static Month
JULY
Static value July for Month.static Month
JUNE
Static value June for Month.static Month
MARCH
Static value March for Month.static Month
MAY
Static value May for Month.static Month
NOVEMBER
Static value November for Month.static Month
OCTOBER
Static value October for Month.static Month
SEPTEMBER
Static value September for Month.
-
Constructor Summary
Constructors Constructor Description Month()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Month
fromString(String name)
Creates or finds a Month from its string representation.static Collection<Month>
values()
-
-
-
Field Detail
-
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.
-
-
Method Detail
-
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()
- Returns:
- known Month values.
-
-