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

Examples of org.apache.imperius.spl.parser.expressions.impl.IsAfter


      DateTimeConstant tdc1 = new DateTimeConstant(c1);
      DateTimeConstant tdc2 = new DateTimeConstant(c2);
      Vector v = new Vector();
      v.add(tdc2);
      v.add(tdc1);
      Expression e = new IsAfter(v,true);
     
      /*v.clear();
      v.add(propertySensor2);
      v.add(propertySensor1);
      Expression eps = new IsAfter(v,true);*/

      assertTrue(((Boolean)e.evaluate()).booleanValue());
      //assertTrue(((Boolean)eps.evaluate()).booleanValue());
    } catch (SPLException e) {
      fail("Received evaluation exception " + e.getMessage());
    } catch (Exception e) {
      fail("Received expression exception " + e.getMessage());
    }
  }
View Full Code Here

TOP

Related Classes of org.apache.imperius.spl.parser.expressions.impl.IsAfter

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.