Package org.boris.expr.function.excel

Examples of org.boris.expr.function.excel.DATE


public class ExcelDateAndTimeFunctionsTest extends TH
{

    public void testDATE() throws Exception {
        DATE d = new DATE();
        assertEquals(eval(d, 3, 5, 6), 1222.);
        assertEquals(eval(d, 3444, 65, 78), 565960.);
        assertEquals(eval(d, -12, -12, -12), ExprError.NUM);
        assertEquals(eval(d, 10000, 1, 1), ExprError.NUM);
    }
View Full Code Here

TOP

Related Classes of org.boris.expr.function.excel.DATE

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.