ObjectGrouperpublic 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.
|
String |
getName() |
Gets the name of this object grouper.
|
Object |
getValue(Object value) |
Gets the group value after this value is grouped.
|
getComparatorContextgetCalendarField, getCalendarFieldAsInt, getCalendarInstance, getTypepublic static GrouperContext CONTEXT
public Object getValue(Object value)
ObjectGrouperObjectGrouper.getType().value - the valuepublic String getName()
ObjectGrouperpublic ConverterContext getConverterContext()
ObjectGrouperObjectGrouper.getValue(Object) method to String
so that it can be displayed somewhere.getConverterContext in interface ObjectGroupergetConverterContext in class AbstractObjectGrouper