public class CellElapsedFormatter extends CellFormatter
_formatters, format, locale
Constructor and Description |
---|
CellElapsedFormatter(java.lang.String pattern,
java.util.Locale locale)
Creates a elapsed time formatter.
|
Modifier and Type | Method and Description |
---|---|
void |
formatValue(java.lang.StringBuffer toAppendTo,
java.lang.Object value)
Format a value according the format string.
|
void |
simpleValue(java.lang.StringBuffer toAppendTo,
java.lang.Object value)
Format a value according to the type, in the most basic way.
|
format, simpleFormat
public CellElapsedFormatter(java.lang.String pattern, java.util.Locale locale)
pattern
- The pattern to parse.public void formatValue(java.lang.StringBuffer toAppendTo, java.lang.Object value)
formatValue
in class CellFormatter
toAppendTo
- The buffer to append to.value
- The value to format.public void simpleValue(java.lang.StringBuffer toAppendTo, java.lang.Object value)
simpleValue
in class CellFormatter
toAppendTo
- The buffer to append to.value
- The value to format.Copyright © 2005-2010 Potix Corporation. All Rights Reserved.