Package classes
Enum Object_Venue.Other_Weekday
- java.lang.Object
-
- java.lang.Enum<Object_Venue.Other_Weekday>
-
- classes.Object_Venue.Other_Weekday
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<Object_Venue.Other_Weekday>
- Enclosing class:
- Object_Venue
public static enum Object_Venue.Other_Weekday extends java.lang.Enum<Object_Venue.Other_Weekday>
Represents a day of the week for use withinObject_Venue.Object_VenueHour.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetStringFromWeekday()static Object_Venue.Other_WeekdaygetWeekdayFromString(java.lang.String weekday)static Object_Venue.Other_WeekdayvalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static Object_Venue.Other_Weekday[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
MONDAY
public static final Object_Venue.Other_Weekday MONDAY
-
TUESDAY
public static final Object_Venue.Other_Weekday TUESDAY
-
WEDNESDAY
public static final Object_Venue.Other_Weekday WEDNESDAY
-
THURSDAY
public static final Object_Venue.Other_Weekday THURSDAY
-
FRIDAY
public static final Object_Venue.Other_Weekday FRIDAY
-
SATURDAY
public static final Object_Venue.Other_Weekday SATURDAY
-
SUNDAY
public static final Object_Venue.Other_Weekday SUNDAY
-
NONE
public static final Object_Venue.Other_Weekday NONE
-
-
Method Detail
-
values
public static Object_Venue.Other_Weekday[] 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 (Object_Venue.Other_Weekday c : Object_Venue.Other_Weekday.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Object_Venue.Other_Weekday 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
-
getWeekdayFromString
public static Object_Venue.Other_Weekday getWeekdayFromString(java.lang.String weekday)
-
getStringFromWeekday
public java.lang.String getStringFromWeekday()
-
-