public enum DayInWeek extends Enum<DayInWeek>
| Modifier and Type | Method and Description |
|---|---|
String |
getDay() |
static DayInWeek |
getDay(String keyword) |
static List<String> |
getDayInWeekDescriptions() |
static DayInWeek |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DayInWeek[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DayInWeek MON
public static final DayInWeek TUE
public static final DayInWeek WED
public static final DayInWeek THU
public static final DayInWeek FRI
public static final DayInWeek SAT
public static final DayInWeek SUN
public static DayInWeek[] values()
for (DayInWeek c : DayInWeek.values()) System.out.println(c);
public static DayInWeek valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic String getDay()
Copyright © 2018 Denim Group, Ltd.; Secure Decisions, A Division of Applied Visions, Inc.. All rights reserved.