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