Hill's operator with finitely many gaps