testing whether year shift is necessary to avoid crossing year 00