original_string: public function encompasses(TimeRange $otherRange) : bool
      {
          return $this->start->isEarlierThanOrEqual($otherRange->start) && $this->end->isLaterThanOrEqual($otherRange->end);
      }
code: public function encompasses(TimeRange $otherRange) : bool
      {
          return $this->start->isEarlierThanOrEqual($otherRange->start) && $this->end->isLaterThanOrEqual($otherRange->end);
      }
code_tokens: public function encompasses ( TimeRange $ otherRange ) : bool { return $ this -> start -> isEarlierThanOrEqual ( $ otherRange -> start ) && $ this -> end -> isLaterThanOrEqual ( $ otherRange -> end ) ; }
docstring: Returns whether the supplied time range is encompassed by this
  time range.
  
  @param TimeRange $otherRange
  
  @return bool
docstring_tokens: Returns whether the supplied time range is encompassed by this time range .