class_docstr: Displays a Qt calendar whose date is specified by a 'format' option.
  
  ============== ========================================================
  **Options:**
  format         Format for displaying the date and converting from a string. Can be any value accepted by
                 `QDate.toString` and `fromString`, or a stringified version of a QDateFormat enum, i.e. 'ISODate',
                 'TextDate' (default), etc.
  ============== ========================================================
code: def _interpretFormat(self, fmt=None):
      fmt = fmt or self.opts.get("format")
      if hasattr(QtCore.Qt.DateFormat, fmt):
          fmt = getattr(QtCore.Qt.DateFormat, fmt)
      return fmt
  
file_path: pyqtgraph/pyqtgraph/parametertree/parameterTypes/calendar.py
imports: from ...Qt import QtCore, QtWidgets
  from ..Parameter import Parameter
  from .basetypes import WidgetParameterItem
label_desc: Use image node_id 2 for calling the CalendarParameter obj's underlying member method code with example usage: obj._interpretFormat(fmt) and returns: fmt