public function addMonths($months)
    {
        $months = (int) $months;
        $interval = new DateInterval('P' . abs($months) . 'M');

        if ($months < 0) {
            $interval->invert = 1;
        }

        return $this->add($interval);
    }