Periodic solutions of the Ginzburg-Landau equation