public function setMinTime(QtiDuration $minTime = null)
    {
        // Prevent to get 0s durations stored.
        if (is_null($minTime) === false && $minTime->getSeconds(true) === 0) {
            $minTime = null;
        }

        $this->minTime = $minTime;
    }