org.apache.accumulo.server.monitor.util.celltypes
Class DateTimeType

java.lang.Object
  extended by org.apache.accumulo.server.monitor.util.celltypes.CellType<Long>
      extended by org.apache.accumulo.server.monitor.util.celltypes.DateTimeType
All Implemented Interfaces:
Comparator<Long>

public class DateTimeType
extends CellType<Long>


Constructor Summary
DateTimeType(int dateFormat, int timeFormat)
           
DateTimeType(SimpleDateFormat fmt)
           
 
Method Summary
 String alignment()
           
 int compare(Long o1, Long o2)
           
 String format(Object obj)
           
 
Methods inherited from class org.apache.accumulo.server.monitor.util.celltypes.CellType
isSortable, setSortable
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface java.util.Comparator
equals
 

Constructor Detail

DateTimeType

public DateTimeType(int dateFormat,
                    int timeFormat)

DateTimeType

public DateTimeType(SimpleDateFormat fmt)
Method Detail

format

public String format(Object obj)
Specified by:
format in class CellType<Long>

compare

public int compare(Long o1,
                   Long o2)

alignment

public String alignment()
Specified by:
alignment in class CellType<Long>


Copyright © 2013 Apache Accumulo Project. All Rights Reserved.