code: private static boolean isDateValue(Object inValue) {
          return ((inValue instanceof java.util.Date) && !((inValue instanceof java.sql.Date) || (inValue instanceof
              java.sql.Time) || (inValue instanceof java.sql.Timestamp)));
      }
docs: Check whether the given value is a <code>java.util.Date</code>
  (but not one of the JDBC-specific subclasses).