public static enum OpeningHours.Period.OpenClose.DayOfWeek extends java.lang.Enum<OpeningHours.Period.OpenClose.DayOfWeek>
Enum Constant and Description |
---|
FRIDAY |
MONDAY |
SATURDAY |
SUNDAY |
THURSDAY |
TUESDAY |
UNKNOWN
Indicates an unknown day of week type returned by the server.
|
WEDNESDAY |
Modifier and Type | Method and Description |
---|---|
static OpeningHours.Period.OpenClose.DayOfWeek |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static OpeningHours.Period.OpenClose.DayOfWeek[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final OpeningHours.Period.OpenClose.DayOfWeek SUNDAY
public static final OpeningHours.Period.OpenClose.DayOfWeek MONDAY
public static final OpeningHours.Period.OpenClose.DayOfWeek TUESDAY
public static final OpeningHours.Period.OpenClose.DayOfWeek WEDNESDAY
public static final OpeningHours.Period.OpenClose.DayOfWeek THURSDAY
public static final OpeningHours.Period.OpenClose.DayOfWeek FRIDAY
public static final OpeningHours.Period.OpenClose.DayOfWeek SATURDAY
public static final OpeningHours.Period.OpenClose.DayOfWeek UNKNOWN
public static OpeningHours.Period.OpenClose.DayOfWeek[] values()
for (OpeningHours.Period.OpenClose.DayOfWeek c : OpeningHours.Period.OpenClose.DayOfWeek.values()) System.out.println(c);
public static OpeningHours.Period.OpenClose.DayOfWeek valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null