public function getWeeks(bool $raw = false)
	{
		if ($raw)
		{
			return $this->difference / WEEK;
		}

		$time = clone($this->currentTime);
		return (int)($time->fieldDifference($this->testTime, IntlCalendar::FIELD_DAY_OF_YEAR) / 7);
	}
public function getWeeks(bool $raw = false)
	{
		if ($raw)
		{
			return $this->difference / WEEK;
		}

		$time = clone($this->currentTime);
		return (int)($time->fieldDifference($this->testTime, IntlCalendar::FIELD_DAY_OF_YEAR) / 7);
	}
public function getWeeks ( bool $ raw = false ) { if ( $ raw ) { return $ this -> difference / WEEK ; } $ time = clone ( $ this -> currentTime ) ; return ( int ) ( $ time -> fieldDifference ( $ this -> testTime , IntlCalendar :: FIELD_DAY_OF_YEAR ) / 7 ) ; }
Returns the number of weeks difference between the two dates.

@param boolean $raw

@return float|integer
Returns the number of weeks difference between the two dates .