WeekDay Class
- java.
lang. Object - com.
azure. core. util. ExpandableStringEnum<T> - com.
azure. resourcemanager. containerservice. models. WeekDay
- com.
- com.
public final class WeekDay
extends ExpandableStringEnum<WeekDay>
The weekday enum.
Field Summary
Modifier and Type | Field and Description |
---|---|
static final
Week |
FRIDAY
Static value Friday for Week |
static final
Week |
MONDAY
Static value Monday for Week |
static final
Week |
SATURDAY
Static value Saturday for Week |
static final
Week |
SUNDAY
Static value Sunday for Week |
static final
Week |
THURSDAY
Static value Thursday for Week |
static final
Week |
TUESDAY
Static value Tuesday for Week |
static final
Week |
WEDNESDAY
Static value Wednesday for Week |
Constructor Summary
Constructor | Description |
---|---|
WeekDay() |
Deprecated
Use the fromString(String name) factory method.
Creates a new instance of Week |
Method Summary
Modifier and Type | Method and Description |
---|---|
static
Week |
fromString(String name)
Creates or finds a Week |
static
Collection<Week |
values()
Gets known Week |
Methods inherited from ExpandableStringEnum
Methods inherited from java.lang.Object
Field Details
FRIDAY
public static final WeekDay FRIDAY
Static value Friday for WeekDay.
MONDAY
public static final WeekDay MONDAY
Static value Monday for WeekDay.
SATURDAY
public static final WeekDay SATURDAY
Static value Saturday for WeekDay.
SUNDAY
public static final WeekDay SUNDAY
Static value Sunday for WeekDay.
THURSDAY
public static final WeekDay THURSDAY
Static value Thursday for WeekDay.
TUESDAY
public static final WeekDay TUESDAY
Static value Tuesday for WeekDay.
WEDNESDAY
public static final WeekDay WEDNESDAY
Static value Wednesday for WeekDay.
Constructor Details
WeekDay
@Deprecated
public WeekDay()
Deprecated
Creates a new instance of WeekDay value.
Method Details
fromString
public static WeekDay fromString(String name)
Creates or finds a WeekDay from its string representation.
Parameters:
Returns:
values
public static Collection
Gets known WeekDay values.
Returns:
Applies to
Azure SDK for Java