public function daysBetween(Date $other) : int
    {
        return $this->dateTime->diff($other->dateTime, true)->days;
    }
public function daysBetween(Date $other) : int
    {
        return $this->dateTime->diff($other->dateTime, true)->days;
    }
public function daysBetween ( Date $ other ) : int { return $ this -> dateTime -> diff ( $ other -> dateTime , true ) -> days ; }
Returns the amount of days between the supplied dates.

@param Date $other

@return int
Returns the amount of days between the supplied dates .