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

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


         
          try {
            propertySensor1=new DateTimeConstant(c1);
              Vector v = new Vector();
              v.add(propertySensor1);
              Expression es1 = new ToMilliseconds(v,true);
             
              Long x=(Long)es1.evaluate();
             //System.out.println("x, c1 "+x.longValue()+ " "+c1.getTimeInMillis());
              assertTrue(x.longValue()==c1.getTimeInMillis());
                      
             
          } catch (SPLException e) {
View Full Code Here

TOP

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

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.