Gravitational oscillations in the length of day