org.apache.accumulo.server.monitor.util.celltypes
Class DateTimeType
java.lang.Object
org.apache.accumulo.server.monitor.util.celltypes.CellType<Long>
org.apache.accumulo.server.monitor.util.celltypes.DateTimeType
- All Implemented Interfaces:
- Comparator<Long>
public class DateTimeType
- extends CellType<Long>
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DateTimeType
public DateTimeType(int dateFormat,
int timeFormat)
DateTimeType
public DateTimeType(SimpleDateFormat fmt)
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.