src/LocalDateRange.php
public function contains(LocalDate $date) : bool
    {
        return ! ($date->isBefore($this->startDate) || $date->isAfter($this->endDate));
    }
public function contains(LocalDate $date) : bool
    {
        return ! ($date->isBefore($this->startDate) || $date->isAfter($this->endDate));
    }
public function contains ( LocalDate $ date ) : bool { return ! ( $ date -> isBefore ( $ this -> startDate ) || $ date -> isAfter ( $ this -> endDate ) ) ; }
Returns whether this LocalDateRange contains the given date.

@param LocalDate $date The date to check.

@return bool True if this range contains the given date, false otherwise.
Returns whether this LocalDateRange contains the given date .