0 Replies Latest reply on Jun 23, 2015 12:55 PM by Bruno Lacerda

    Unable to get the time of the Date on creating Guided Rule

    Bruno Lacerda Newbie

      Hello,

       

      I'm creating a test guided rule where I want to check if the time is before 05:00h and after 22:00h.

      The field are "startTime" and "endTime" and on POJO these fields are from type java.util.Date and annotated as @Temporal(TemporalType.TIME)

       

      Example:

      @Temporal(TemporalType.TIME)

      private Date startTime;

       

      When I'm creating the rule from Wizzard (guidded rule), the option to compare is a DatePicker calendar where I'm not able to change to a TimePicker something related to time.

       

      What do I have to do to work with Time instead Date in this scenario?

       

      Thanks in advance.