See date is not in a given number of days.

@param string $date
@param int    $days
774509
public function dontSeeDateIsInDays($date, $days) {
        \PHPUnit_Framework_Assert::assertNotEquals($days, $this->_GetNow()->diffInDays($this->_ParseDate($date), false));
    }
1208022
public function dontSeeDateIsThursday($date) {
        \PHPUnit_Framework_Assert::assertFalse($this->_ParseDate($date)->dayOfWeek == Carbon::THURSDAY);
    }
1288091
protected function setDate(Date $date)
    {
        $this->date = $date;
        $this->strDate = $date->toString();
    }
466072
public function dontSeeDateIsTuesday($date) {
        \PHPUnit_Framework_Assert::assertFalse($this->_ParseDate($date)->dayOfWeek == Carbon::TUESDAY);
    }
127612
public function setDaysExcluded(array $days)
    {
        foreach ($days as $day) {
            DateBuilder::validateDayOfMonth($day);
        }

        $this->setValue('excludeDays', $days);
    }
231352
private function prepareDate(string $date)
    {
        if(preg_match("/\d{4}-\d{2}-\d{2} \d{2}:\d{2}:\d{2}/i", $date)) $date = explode(" ", $date)[0];

        foreach (preg_split("/\W/i", $date) as $i => $dado) {
            $this->getDatePart($i, $dado);
        }

        $this->checkErro();
        $this->checkMonthEdge();
    }
1358996
public function seeDateIsSaturday($date) {
        \PHPUnit_Framework_Assert::assertTrue($this->_ParseDate($date)->dayOfWeek == Carbon::SATURDAY);
    }
457031
public function seeDayInWeek($date, $day) {
        \PHPUnit_Framework_Assert::assertEquals($day, $this->_ParseDate($date)->dayOfWeek);
    }
637915
static public function daysBetweenDates(string $date1, string $date2):? int
    {
        // If input dates have datetime 'Y-m-d X' format, take only the date part
        list($d1) = array_pad(explode(' ', $date1), 1, 0);
        list($d2) = array_pad(explode(' ', $date2), 1, 0);

        if (!self::checkDate($d1) || !self::checkDate($d2)) {
            return null;
        }

        if (!($dates = self::splitDates($d1, $d2))) {
            return null;
        }

        return (count($dates) - 1);
    }
884023
public function seeDateIsMonday($date) {
        \PHPUnit_Framework_Assert::assertTrue($this->_ParseDate($date)->dayOfWeek == Carbon::MONDAY);
    }
196676
public static function dateAddDay($date, $day)
    {
        $daystr = "+$day day";
        $dateday = date("Y-m-d", strtotime($daystr, strtotime($date)));
        return $dateday;
    }
1315582
protected function numberOfDays($days, $start, $end)
    {
        $w    = array(date('w', $start), date('w', $end));
        $base = floor(($end - $start) / self::SECONDS_IN_A_WEEK);
        $sum  = 0;

        for ($day = 0; $day < 7; ++$day) {
            if ($days & pow(2, $day)) {
                $sum += $base + (($w[0] > $w[1]) ? $w[0] <= $day || $day <= $w[1] : $w[0] <= $day && $day <= $w[1]);
            }
        }

        return $sum;
    }
43605
public static function inBetween( $startDate, $endDate, $date ) {

		$start 	= is_string( $startDate ) ? strtotime( $startDate ) : $startDate->getTimestamp();
		$end 	= is_string( $endDate ) ? strtotime( $endDate ) : $endDate->getTimestamp();
		$test 	= is_string( $date ) ? strtotime( $date ) : $date->getTimestamp();

		// Test in between start and end
		return ( ( $test >= $start ) && ( $test <= $end ) );
	}
1137789
private function abandonedIntervalToDate($date)
    {
        $dateInterval = "P".(String)self::VALID_RANGE_DAYS."D";
        $date->add(new \DateInterval($dateInterval));

        return $date->format('d/m/Y H:i:s');
    }
516845
public function dontSeeDateIsMonday($date) {
        \PHPUnit_Framework_Assert::assertFalse($this->_ParseDate($date)->dayOfWeek == Carbon::MONDAY);
    }
592433
public function dontSeeDateIsSaturday($date) {
        \PHPUnit_Framework_Assert::assertFalse($this->_ParseDate($date)->dayOfWeek == Carbon::SATURDAY);
    }
65443
public function diffInWeekendDays($date = null, $absolute = true)
    {
        return $this->diffInDaysFiltered(function (CarbonInterface $date) {
            return $date->isWeekend();
        }, $date, $absolute);
    }