com.tonbeller.jpivot.olap.model.impl
Class CF_hhhmmss

java.lang.Object
  extended by com.tonbeller.jpivot.olap.model.impl.CF_hhhmmss
All Implemented Interfaces:
CellFormatter

public class CF_hhhmmss
extends java.lang.Object
implements CellFormatter

this is an example for the cell formatting exit returns hhh:mm:ss for the value beeing number of seconds hhh = hours mm = minutes ss = seconds


Constructor Summary
CF_hhhmmss()
           
 
Method Summary
 java.lang.String formatCell(Cell cell)
          user provided cell formatting function
static long objToLong(java.lang.Object obj)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CF_hhhmmss

public CF_hhhmmss()
Method Detail

formatCell

public java.lang.String formatCell(Cell cell)
Description copied from interface: CellFormatter
user provided cell formatting function

Specified by:
formatCell in interface CellFormatter
Returns:
the formatted value

objToLong

public static long objToLong(java.lang.Object obj)