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) {