src/YearMonthRange.php
public function isEqualTo(YearMonthRange $that) : bool
    {
        return $this->start->isEqualTo($that->start) && $this->end->isEqualTo($that->end);
    }
public function isEqualTo(YearMonthRange $that) : bool
    {
        return $this->start->isEqualTo($that->start) && $this->end->isEqualTo($that->end);
    }
public function isEqualTo ( YearMonthRange $ that ) : bool { return $ this -> start -> isEqualTo ( $ that -> start ) && $ this -> end -> isEqualTo ( $ that -> end ) ; }
Returns whether this YearMonthRange is equal to the given one.

@param YearMonthRange $that The range to compare to.

@return bool True if this range equals the given one, false otherwise.
Returns whether this YearMonthRange is equal to the given one .