public function equals(self $other) : bool
    {
        if ($other === $this) {
            return true;
        }
        
        return $other->from->equals($this->from) && $other->until->equals($this->until);
    }
public function equals(self $other) : bool
    {
        if ($other === $this) {
            return true;
        }
        
        return $other->from->equals($this->from) && $other->until->equals($this->until);
    }
public function equals ( self $ other ) : bool { if ( $ other === $ this ) { return true ; } return $ other -> from -> equals ( $ this -> from ) && $ other -> until -> equals ( $ this -> until ) ; }
Determines if an instance is equal to this instance.

@param self $other

@return bool
Determines if an instance is equal to this instance .