javadocs
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1722605 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
f5a24203b8
commit
85bb833ea1
@ -161,15 +161,15 @@ public interface Cell {
|
|||||||
void setCellValue(double value);
|
void setCellValue(double value);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Converts the supplied date to its equivalent Excel numeric value and sets
|
* <p>Converts the supplied date to its equivalent Excel numeric value and sets
|
||||||
* that into the cell.
|
* that into the cell.</p>
|
||||||
* <p/>
|
*
|
||||||
* <b>Note</b> - There is actually no 'DATE' cell type in Excel. In many
|
* <p><b>Note</b> - There is actually no 'DATE' cell type in Excel. In many
|
||||||
* cases (when entering date values), Excel automatically adjusts the
|
* cases (when entering date values), Excel automatically adjusts the
|
||||||
* <i>cell style</i> to some date format, creating the illusion that the cell
|
* <i>cell style</i> to some date format, creating the illusion that the cell
|
||||||
* data type is now something besides {@link Cell#CELL_TYPE_NUMERIC}. POI
|
* data type is now something besides {@link Cell#CELL_TYPE_NUMERIC}. POI
|
||||||
* does not attempt to replicate this behaviour. To make a numeric cell
|
* does not attempt to replicate this behaviour. To make a numeric cell
|
||||||
* display as a date, use {@link #setCellStyle(CellStyle)} etc.
|
* display as a date, use {@link #setCellStyle(CellStyle)} etc.</p>
|
||||||
*
|
*
|
||||||
* @param value the numeric value to set this cell to. For formulas we'll set the
|
* @param value the numeric value to set this cell to. For formulas we'll set the
|
||||||
* precalculated value, for numerics we'll set its value. For other types we
|
* precalculated value, for numerics we'll set its value. For other types we
|
||||||
@ -178,8 +178,8 @@ public interface Cell {
|
|||||||
void setCellValue(Date value);
|
void setCellValue(Date value);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Set a date value for the cell. Excel treats dates as numeric so you will need to format the cell as
|
* <p>Set a date value for the cell. Excel treats dates as numeric so you will need to format the cell as
|
||||||
* a date.
|
* a date.</p>
|
||||||
* <p>
|
* <p>
|
||||||
* This will set the cell value based on the Calendar's timezone. As Excel
|
* This will set the cell value based on the Calendar's timezone. As Excel
|
||||||
* does not support timezones this means that both 20:00+03:00 and
|
* does not support timezones this means that both 20:00+03:00 and
|
||||||
|
Loading…
Reference in New Issue
Block a user