added full-year printing functionality and relevant test