JIDE 3.5.15

com.jidesoft.grouper.date
Class DateQuarterGrouper

java.lang.Object
  extended by com.jidesoft.grouper.AbstractObjectGrouper
      extended by com.jidesoft.grouper.date.DateGrouper
          extended by com.jidesoft.grouper.date.DateQuarterGrouper
All Implemented Interfaces:
ObjectGrouper

public class DateQuarterGrouper
extends DateGrouper


Field Summary
static GrouperContext CONTEXT
           
 
Fields inherited from class com.jidesoft.grouper.date.DateGrouper
INSTANCE
 
Constructor Summary
DateQuarterGrouper()
           
 
Method Summary
static Object[] getAvailableGroups()
           
 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.
 
Methods inherited from class com.jidesoft.grouper.date.DateGrouper
getCalendarField, getCalendarFieldAsInt, getCalendarInstance, getType
 
Methods inherited from class com.jidesoft.grouper.AbstractObjectGrouper
getComparatorContext
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

CONTEXT

public static GrouperContext CONTEXT
Constructor Detail

DateQuarterGrouper

public DateQuarterGrouper()
Method Detail

getAvailableGroups

public static Object[] getAvailableGroups()

getValue

public Object getValue(Object value)
Description copied from interface: ObjectGrouper
Gets the group value after this value is grouped. If two objects return the same value in this getGroupValue method, the two objects are considered as one group. We assume all values returned from this method are of the same type which is returned in ObjectGrouper.getType().

Parameters:
value - the value
Returns:
the value after grouped.

getName

public String getName()
Description copied from interface: ObjectGrouper
Gets the name of this object grouper.

Returns:
the name of this grouper.

getConverterContext

public ConverterContext getConverterContext()
Description copied from interface: ObjectGrouper
Gets the converter context for the value returned from this object grouper. This converter context will be used to find the ObjectConverter that will convert the value returned from ObjectGrouper.getValue(Object) method to String so that it can be displayed somewhere.

Specified by:
getConverterContext in interface ObjectGrouper
Overrides:
getConverterContext in class AbstractObjectGrouper
Returns:
the converter context.

JIDE 3.5.15