org.apache.accumulo.server.monitor.util.celltypes
Class DateTimeType
java.lang.Object
org.apache.accumulo.server.monitor.util.celltypes.CellType<java.lang.Long>
org.apache.accumulo.server.monitor.util.celltypes.DateTimeType
- All Implemented Interfaces:
- java.util.Comparator<java.lang.Long>
public class DateTimeType
- extends CellType<java.lang.Long>
Method Summary |
java.lang.String |
alignment()
|
int |
compare(java.lang.Long o1,
java.lang.Long o2)
|
java.lang.String |
format(java.lang.Object obj)
|
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 |
DateTimeType
public DateTimeType(int dateFormat,
int timeFormat)
DateTimeType
public DateTimeType(java.text.SimpleDateFormat fmt)
format
public java.lang.String format(java.lang.Object obj)
- Specified by:
format
in class CellType<java.lang.Long>
compare
public int compare(java.lang.Long o1,
java.lang.Long o2)
alignment
public java.lang.String alignment()
- Specified by:
alignment
in class CellType<java.lang.Long>
Copyright © 2012 The Apache Software Foundation. All Rights Reserved.