public function days()
    {
        if ($this->isOpenEnded() || $this->isOpenStarted()) {
            throw new Exception('The number of days within a range cannot be calculated for ranges that are open ended or open started.');
        }

        return $this->after->diffInDays($this->before);
    }