org.apache.poi.hssf.record.formula.functions
Class Days360

java.lang.Object
  extended by org.apache.poi.hssf.record.formula.functions.NumericFunction
      extended by org.apache.poi.hssf.record.formula.functions.NumericFunction.TwoArg
          extended by org.apache.poi.hssf.record.formula.functions.Days360
All Implemented Interfaces:
Function

public class Days360
extends NumericFunction.TwoArg

Calculates the number of days between two dates based on a 360-day year (twelve 30-day months), which is used in some accounting calculations. Use this function to help compute payments if your accounting system is based on twelve 30-day months.

Author:
PUdalau

Nested Class Summary
 
Nested classes/interfaces inherited from class org.apache.poi.hssf.record.formula.functions.NumericFunction
NumericFunction.MultiArg, NumericFunction.OneArg, NumericFunction.TwoArg
 
Field Summary
 
Fields inherited from class org.apache.poi.hssf.record.formula.functions.NumericFunction
ABS, ACOS, ACOSH, ASIN, ASINH, ATAN, ATAN2, ATANH, CEILING, COMBIN, COS, COSH, DEGREES, DOLLAR, EXP, FACT, FLOOR, INT, LN, LOG, LOG10, MOD, POWER, RADIANS, ROUND, ROUNDDOWN, ROUNDUP, SIGN, SIN, SINH, SQRT, TAN, TANH
 
Constructor Summary
Days360()
           
 
Method Summary
protected  double evaluate(double d0, double d1)
           
 
Methods inherited from class org.apache.poi.hssf.record.formula.functions.NumericFunction.TwoArg
eval
 
Methods inherited from class org.apache.poi.hssf.record.formula.functions.NumericFunction
evaluate, singleOperandEvaluate
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Days360

public Days360()
Method Detail

evaluate

protected double evaluate(double d0,
                          double d1)
                   throws EvaluationException
Specified by:
evaluate in class NumericFunction.TwoArg
Throws:
EvaluationException


Copyright 2009 The Apache Software Foundation or its licensors, as applicable.