if (internalGet(MONTH) == Calendar.JANUARY) { if (woy >= 52) { isoDoy += handleGetYearLength(isoYear); isoDoy -= handleGetYearLength(isoYear - 1); int lastDoy = handleGetYearLength(isoYear); int lastRelDow = (lastDoy - isoDoy + internalGet(DAY_OF_WEEK) - getFirstDayOfWeek()) % 7;