public static enum TimeConstraint.MONTH extends Enum<TimeConstraint.MONTH>
| Enum Constant and Description |
|---|
APRIL |
AUGUST |
DECEMBER |
FEBRUARY |
JANUARY |
JULY |
JUNE |
MARCH |
MAY |
NOVEMBER |
OCTOBER |
SEPTEMBER |
| Modifier and Type | Method and Description |
|---|---|
static TimeConstraint.MONTH |
fromString(String s) |
String |
getMonth() |
static TimeConstraint.MONTH |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TimeConstraint.MONTH[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TimeConstraint.MONTH JANUARY
public static final TimeConstraint.MONTH FEBRUARY
public static final TimeConstraint.MONTH MARCH
public static final TimeConstraint.MONTH APRIL
public static final TimeConstraint.MONTH MAY
public static final TimeConstraint.MONTH JUNE
public static final TimeConstraint.MONTH JULY
public static final TimeConstraint.MONTH AUGUST
public static final TimeConstraint.MONTH SEPTEMBER
public static final TimeConstraint.MONTH OCTOBER
public static final TimeConstraint.MONTH NOVEMBER
public static final TimeConstraint.MONTH DECEMBER
public static TimeConstraint.MONTH[] values()
for (TimeConstraint.MONTH c : TimeConstraint.MONTH.values()) System.out.println(c);
public static TimeConstraint.MONTH 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 getMonth()
public static TimeConstraint.MONTH fromString(String s)
Copyright © 2015–2017 Red Hat, Inc.. All rights reserved.