Package ai.nextbillion.maps.model
Enum OpeningHours.Period.OpenClose.DayOfWeek
java.lang.Object
java.lang.Enum<OpeningHours.Period.OpenClose.DayOfWeek>
ai.nextbillion.maps.model.OpeningHours.Period.OpenClose.DayOfWeek
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<OpeningHours.Period.OpenClose.DayOfWeek>,java.lang.constant.Constable
- Enclosing class:
- OpeningHours.Period.OpenClose
public static enum OpeningHours.Period.OpenClose.DayOfWeek extends java.lang.Enum<OpeningHours.Period.OpenClose.DayOfWeek>
-
Nested Class Summary
-
Enum Constant Summary
-
Method Summary
Modifier and Type Method Description java.lang.StringgetName()static OpeningHours.Period.OpenClose.DayOfWeekvalueOf(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 Details
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
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()
-