simplify loop for determining liturgical hour