  The geometric phases of the cyclic states of a generalized harmonic
oscillator with nonadiabatic time-periodic parameters are discussed in the
framework of squeezed state. It is shown that the cyclic and quasicyclic
squeezed states correspond to the periodic and quasiperiodic solutions of an
effective Hamiltonian defined on an extended phase space, respectively. The
geometric phase of the cyclic squeezed state is found to be a phase-space area
swept out by a periodic orbit. Furthermore, a class of cyclic states are
expressed as a superposition of an infinte number of squeezed states. Their
geometric phases are found to be independent of $\hbar$, and equal to
$-(n+1/2)$ times the classical nonadiabatic Hannay angle.
