src/DateBounds.php
/**
     * Returns whether of not the given bounds is within this bounds.
     *
     * @param DateBounds $otherBounds The bounds to check.
     *
     * @return bool
     */
Returns whether of not the given bounds is within this bounds.
@param DateBounds $otherBounds The bounds to check.

@return bool
Returns whether of not the given bounds is within this bounds . @param DateBounds $otherBounds The bounds to check . @return bool
public function overlaps(DateBounds $otherBounds)
    {
        return (
            $otherBounds->getStart() < $this->getEnd() &&
            $otherBounds->getEnd() > $this->getStart()
        );
    }
public function overlaps ( DateBounds $ otherBounds ) { return ( $ otherBounds -> getStart ( ) < $ this -> getEnd ( ) && $ otherBounds -> getEnd ( ) > $ this -> getStart ( ) ) ; }
Returns whether of not the given bounds is within this bounds.
Returns whether of not the given bounds is within this bounds .