public static enum TimerUtils.WEEK_DAY extends Enum<TimerUtils.WEEK_DAY>
Enum Constant and Description |
---|
FRIDAY |
MONDAY |
SATURDAY |
SUNDAY |
THURSDAY |
TUESDAY |
WEDNESDAY |
Modifier and Type | Method and Description |
---|---|
static TimerUtils.WEEK_DAY |
fromString(String text) |
static TimerUtils.WEEK_DAY |
get(int id) |
String |
getText() |
static TimerUtils.WEEK_DAY |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TimerUtils.WEEK_DAY[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TimerUtils.WEEK_DAY MONDAY
public static final TimerUtils.WEEK_DAY TUESDAY
public static final TimerUtils.WEEK_DAY WEDNESDAY
public static final TimerUtils.WEEK_DAY THURSDAY
public static final TimerUtils.WEEK_DAY FRIDAY
public static final TimerUtils.WEEK_DAY SATURDAY
public static final TimerUtils.WEEK_DAY SUNDAY
public static TimerUtils.WEEK_DAY[] values()
for (TimerUtils.WEEK_DAY c : TimerUtils.WEEK_DAY.values()) System.out.println(c);
public static TimerUtils.WEEK_DAY 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 static TimerUtils.WEEK_DAY get(int id)
public String getText()
public static TimerUtils.WEEK_DAY fromString(String text)
Copyright © 2015–2019. All rights reserved.