def METHOD_NAME(self, idleTime: float = 0.0) -> None:
    """Update the session clock."""
    if self._refTime < 0.0:
        self.timeText.setText("00:00:00")
    else:
        if CONFIG.stopWhenIdle:
            sessTime = round(time() - self._refTime - idleTime)
        else:
            sessTime = round(time() - self._refTime)
        self.timeText.setText(formatTime(sessTime))
    return