changed modes supported to include ceil and floor. dropped support for half_odd and half_even, as they are irrelevant for timestamps