code: public boolean evaluate(FieldContainer container, Map<GenericCriteriaPrompt, Object> promptValues)
     {
        //
        // Retrieve the LHS value
        //
        FieldType field = m_leftValue;
        Object lhs;
  
        if (field == null)
        {
           lhs = null;
        }
        else
        {
           lhs = container.getCurrentValue(field);
           switch (field.getDataType())
           {
              case DATE:
              {
                 if (lhs != null)
                 {
                    lhs = DateHelper.getDayStartDate((Date) lhs);
                 }
                 break;
              }
  
              case DURATION:
              {
                 if (lhs != null)
                 {
                    Duration dur = (Duration) lhs;
                    lhs = dur.convertUnits(TimeUnit.HOURS, m_properties);
                 }
                 else
                 {
                    lhs = Duration.getInstance(0, TimeUnit.HOURS);
                 }
                 break;
              }
  
              case STRING:
              {
                 lhs = lhs == null ? "" : lhs;
                 break;
              }
  
              default:
              {
                 break;
              }
           }
        }
  
        //
        // Retrieve the RHS values
        //
        Object[] rhs;
        if (m_symbolicValues == true)
        {
           rhs = processSymbolicValues(m_workingRightValues, container, promptValues);
        }
        else
        {
           rhs = m_workingRightValues;
        }
  
        //
        // Evaluate
        //
        boolean result;
        switch (m_operator)
        {
           case AND:
           case OR:
           {
              result = evaluateLogicalOperator(container, promptValues);
              break;
           }
  
           default:
           {
              result = m_operator.evaluate(lhs, rhs);
              break;
           }
        }
  
        return result;
     }
docs: Evaluate the criteria and return a boolean result.
  
  @param container field container
  @param promptValues responses to prompts
  @return boolean flag