public enum DateGrouping extends java.lang.Enum<DateGrouping>
Enum Constant and Description |
---|
ANO |
DIA |
MES |
NONE |
SEMANA |
TRIMESTRE |
Modifier and Type | Method and Description |
---|---|
static DateGrouping |
getDateGroupingByType(java.lang.String type) |
java.lang.String |
getGroupingFunction() |
java.lang.String |
getType() |
static java.lang.String[] |
toArray() |
java.lang.String |
toString() |
static DateGrouping |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static DateGrouping[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DateGrouping NONE
public static final DateGrouping DIA
public static final DateGrouping SEMANA
public static final DateGrouping MES
public static final DateGrouping TRIMESTRE
public static final DateGrouping ANO
public static DateGrouping[] values()
for (DateGrouping c : DateGrouping.values()) System.out.println(c);
public static DateGrouping valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic java.lang.String toString()
toString
in class java.lang.Enum<DateGrouping>
public java.lang.String getType()
public java.lang.String getGroupingFunction()
public static java.lang.String[] toArray()
public static DateGrouping getDateGroupingByType(java.lang.String type)