public enum Publication extends Enum<Publication>
| Enum Constant and Description |
|---|
CUALQUIER_MOMENTO |
ESTA_SEMANA |
ESTE_ANHO |
ESTE_MES |
HOY |
| Modifier and Type | Method and Description |
|---|---|
static Publication |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Publication[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Publication HOY
public static final Publication ESTA_SEMANA
public static final Publication ESTE_MES
public static final Publication ESTE_ANHO
public static final Publication CUALQUIER_MOMENTO
public static Publication[] values()
for (Publication c : Publication.values()) System.out.println(c);
public static Publication 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 nullCopyright © 2022. All rights reserved.