public function setQuarter($quarter)
    {
        if(!$quarter) {
            return $this;
        }
        if (!($quarter instanceof Quarter)) {
            $quarter = new Quarter($quarter);
        }
        if ($quarter->isEmpty()) {
            $this->invalidArguments('10005');
        }
        return $this->setParameter('quarter', $quarter);
    }