Package com.google.maps.model
Enum OpeningHours.Period.OpenClose.DayOfWeek
- java.lang.Object
-
- java.lang.Enum<OpeningHours.Period.OpenClose.DayOfWeek>
-
- com.google.maps.model.OpeningHours.Period.OpenClose.DayOfWeek
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<OpeningHours.Period.OpenClose.DayOfWeek>
- Enclosing class:
- OpeningHours.Period.OpenClose
public static enum OpeningHours.Period.OpenClose.DayOfWeek extends java.lang.Enum<OpeningHours.Period.OpenClose.DayOfWeek>
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getName()
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.
-
-
-
Enum Constant Detail
-
SUNDAY
public static final OpeningHours.Period.OpenClose.DayOfWeek SUNDAY
-
MONDAY
public static final OpeningHours.Period.OpenClose.DayOfWeek MONDAY
-
TUESDAY
public static final OpeningHours.Period.OpenClose.DayOfWeek TUESDAY
-
WEDNESDAY
public static final OpeningHours.Period.OpenClose.DayOfWeek WEDNESDAY
-
THURSDAY
public static final OpeningHours.Period.OpenClose.DayOfWeek THURSDAY
-
FRIDAY
public static final OpeningHours.Period.OpenClose.DayOfWeek FRIDAY
-
SATURDAY
public static final OpeningHours.Period.OpenClose.DayOfWeek SATURDAY
-
UNKNOWN
public static final OpeningHours.Period.OpenClose.DayOfWeek UNKNOWN
Indicates an unknown day of week type returned by the server. The Java Client for Google Maps Services should be updated to support the new value.
-
-
Method Detail
-
values
public static OpeningHours.Period.OpenClose.DayOfWeek[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (OpeningHours.Period.OpenClose.DayOfWeek c : OpeningHours.Period.OpenClose.DayOfWeek.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static OpeningHours.Period.OpenClose.DayOfWeek valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
getName
public java.lang.String getName()
-
-