Quantum oscillations in confined and degenerate Fermi gases. I. Half-vicinity model