aboutsummaryrefslogtreecommitdiffstats
path: root/src/java/org/apache/poi/hssf/usermodel/HSSFDateUtil.java
diff options
context:
space:
mode:
authorNick Burch <nick@apache.org>2008-03-22 14:38:43 +0000
committerNick Burch <nick@apache.org>2008-03-22 14:38:43 +0000
commit010e4ac16664f5cee57402269c28d7b764580d60 (patch)
treee0c8aa9c3377dd5ebfaac8005422a0f074aa6ad7 /src/java/org/apache/poi/hssf/usermodel/HSSFDateUtil.java
parentcdd40f24796b2953943d2bdfa766131a5e76f27f (diff)
downloadpoi-010e4ac16664f5cee57402269c28d7b764580d60.tar.gz
poi-010e4ac16664f5cee57402269c28d7b764580d60.zip
Quite a bit more xssf support for cell styles. Also, get all the ooxml tests to pass cleanly, partly by disabling broken ones
git-svn-id: https://svn.apache.org/repos/asf/poi/branches/ooxml@640003 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/java/org/apache/poi/hssf/usermodel/HSSFDateUtil.java')
-rw-r--r--src/java/org/apache/poi/hssf/usermodel/HSSFDateUtil.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/java/org/apache/poi/hssf/usermodel/HSSFDateUtil.java b/src/java/org/apache/poi/hssf/usermodel/HSSFDateUtil.java
index 0e3d1ee54c..ccf67f8d0e 100644
--- a/src/java/org/apache/poi/hssf/usermodel/HSSFDateUtil.java
+++ b/src/java/org/apache/poi/hssf/usermodel/HSSFDateUtil.java
@@ -281,7 +281,7 @@ public class HSSFDateUtil
if ( HSSFDateUtil.isValidExcelDate(d) ) {
HSSFCellStyle style = cell.getCellStyle();
int i = style.getDataFormat();
- String f = style.getDataFormatString(cell.getBoundWorkbook());
+ String f = style.getDataFormatString();
bDate = isADateFormat(i, f);
}
return bDate;