src/Carbon/Traits/Date.php
public function addUnitNoOverflow($valueUnit, $value, $overflowUnit)
    {
        return $this->setUnitNoOverflow($valueUnit, $this->$valueUnit + $value, $overflowUnit);
    }
public function addUnitNoOverflow($valueUnit, $value, $overflowUnit)
    {
        return $this->setUnitNoOverflow($valueUnit, $this->$valueUnit + $value, $overflowUnit);
    }
public function addUnitNoOverflow ( $ valueUnit , $ value , $ overflowUnit ) { return $ this -> setUnitNoOverflow ( $ valueUnit , $ this -> $ valueUnit + $ value , $ overflowUnit ) ; }
Add any unit to a new value without overflowing current other unit given.

@param string $valueUnit    unit name to modify
@param int    $value        amount to add to the input unit
@param string $overflowUnit unit name to not overflow

@return static|CarbonInterface
Add any unit to a new value without overflowing current other unit given .