code: def from_j_flink_time(j_flink_time):
      total_milliseconds = j_flink_time.toMilliseconds()
      return timedelta(milliseconds=total_milliseconds)
  
file_path: flink/flink-python/pyflink/util/java_utils.py
imports: from datetime import timedelta
  from py4j.java_gateway import JavaClass, get_java_class, JavaObject
  from py4j.protocol import Py4JJavaError
  from pyflink.java_gateway import get_gateway
label_desc: Use image node_id 3 for calling a global function with example usage: from_j_flink_time(j_flink_time) and returns: timedelta