class_docstr: A time-based amount of time, such as '34.5 seconds'.
class_docstr_tok: ["A","time-based","amount","of","time",",","such","as","'34.5","seconds","'","."]
code: def __init__(self, j_duration):
      self._j_duration = j_duration
  
imports: from pyflink.java_gateway import get_gateway
label_desc: Use image node_id 1 to create a new Duration object from inherited base classes: object with example: obj = Duration(j_duration)