Package org.apache.imperius.spl.parser.expressions.impl

Examples of org.apache.imperius.spl.parser.expressions.impl.GetMonth.evaluate()


      v.add(tdc);
      GetMonth gm = new GetMonth(v,true);
      //      //System.out.println("gm.evaluate() = " + gm.evaluate());
      //      //System.out.println("c.get(Calendar.MONTH) = " + c.get(Calendar.MONTH));

            assertTrue(((Integer)gm.evaluate()).compareTo(new Integer(c.get(Calendar.MONTH))) == 0);     
      //    } catch (SPLException e) {
      //      fail("Received evaluation exception " + e.getMessage());
    } catch (Exception e) {
      fail("Received expression exception " + e.getMessage());
    }
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. 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.