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

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


      Calendar c = new GregorianCalendar();
      DateTimeConstant tdc = new DateTimeConstant(c);
     
      Vector v = new Vector();
      v.add(tdc);
      GetHour24 ghod = new GetHour24(v,true);

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

TOP

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

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.