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