Integration of YEAR_WITHIN into SGP package