ObjectGrouper
public class DateYearGrouper extends DateGrouper
Modifier and Type | Field | Description |
---|---|---|
static GrouperContext |
CONTEXT |
INSTANCE
Constructor | Description |
---|---|
DateYearGrouper() |
Modifier and Type | Method | Description |
---|---|---|
ConverterContext |
getConverterContext() |
Gets the converter context for the value returned from this object grouper.
|
java.lang.String |
getName() |
Gets the name of this object grouper.
|
java.lang.Object |
getValue(java.lang.Object value) |
Gets the group value after this value is grouped.
|
getComparatorContext
getCalendarField, getCalendarFieldAsInt, getCalendarInstance, getType
public static GrouperContext CONTEXT
public java.lang.Object getValue(java.lang.Object value)
ObjectGrouper
ObjectGrouper.getType()
.value
- the valuepublic java.lang.String getName()
ObjectGrouper
public ConverterContext getConverterContext()
ObjectGrouper
ObjectGrouper.getValue(Object)
method to String
so that it can be displayed somewhere.getConverterContext
in interface ObjectGrouper
getConverterContext
in class AbstractObjectGrouper