poi-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ye...@apache.org
Subject svn commit: r813440 - /poi/trunk/src/java/org/apache/poi/hssf/record/formula/eval/FunctionEval.java
Date Thu, 10 Sep 2009 13:51:27 GMT
Author: yegor
Date: Thu Sep 10 13:51:26 2009
New Revision: 813440

URL: http://svn.apache.org/viewvc?rev=813440&view=rev
Log:
Necessary fix of FunctionEval (follow-on to patch 47768)

Modified:
    poi/trunk/src/java/org/apache/poi/hssf/record/formula/eval/FunctionEval.java

Modified: poi/trunk/src/java/org/apache/poi/hssf/record/formula/eval/FunctionEval.java
URL: http://svn.apache.org/viewvc/poi/trunk/src/java/org/apache/poi/hssf/record/formula/eval/FunctionEval.java?rev=813440&r1=813439&r2=813440&view=diff
==============================================================================
--- poi/trunk/src/java/org/apache/poi/hssf/record/formula/eval/FunctionEval.java (original)
+++ poi/trunk/src/java/org/apache/poi/hssf/record/formula/eval/FunctionEval.java Thu Sep 10
13:51:26 2009
@@ -55,7 +55,6 @@
 		retval[0] = new Count();
 		retval[1] = new If();
 		retval[2] = new IsNa();
-
 		retval[3] = new IsError();
 		retval[ID.SUM] = AggregateFunction.SUM;
 		retval[5] = AggregateFunction.AVERAGE;
@@ -64,7 +63,7 @@
 		retval[8] = new Row(); // ROW
 		retval[9] = new Column();
 		retval[10] = new Na();
-
+		retval[11] = new Npv();
 		retval[12] = AggregateFunction.STDEV;
 		retval[13] = NumericFunction.DOLLAR;
 
@@ -155,6 +154,7 @@
 		retval[212] = NumericFunction.ROUNDUP;
 		retval[213] = NumericFunction.ROUNDDOWN;
 
+        retval[220] = new Days360();
 		retval[221] = new Today();
 
 		retval[227] = AggregateFunction.MEDIAN;



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@poi.apache.org
For additional commands, e-mail: commits-help@poi.apache.org


Mime
View raw message