public class CellDateFormatter extends CellFormatter
| Constructor and Description |
|---|
CellDateFormatter(Locale locale,
String format)
Creates a new date formatter with the given specification.
|
CellDateFormatter(String format)
Creates a new date formatter with the given specification.
|
| Modifier and Type | Method and Description |
|---|---|
void |
formatValue(StringBuffer toAppendTo,
Object value)
Format a value according the format string.
|
void |
simpleValue(StringBuffer toAppendTo,
Object value)
Format a value according to the type, in the most basic way.
|
format, simpleFormatpublic CellDateFormatter(String format)
format - The format.public void formatValue(StringBuffer toAppendTo, Object value)
formatValue in class CellFormattertoAppendTo - The buffer to append to.value - The value to format.public void simpleValue(StringBuffer toAppendTo, Object value)
For a date, this is "mm/d/y".
simpleValue in class CellFormattertoAppendTo - The buffer to append to.value - The value to format.Copyright © 2010 - 2020 Adobe. All Rights Reserved