Package org.boris.expr.function.excel

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


        TIMEVALUE t = new TIMEVALUE();
        fail("TIMEVALUE not implemented");
    }

    public void testTODAY() throws Exception {
        TODAY t = new TODAY();
        for (int i = 0; i < 100; i++) {
            double d1 = (Double) eval(t);
            double d2 = ExcelDate.toExcelDate(new Date().getTime());
            assertTrue("TODAY not working (" + d1 + "," + d2 + ")", Math
                    .abs(d1 - d2) < 0.000001);
View Full Code Here

TOP

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

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.