If you interpret "up to" to mean "no more than," then "up to four weeks before the end of the term" could be interpreted as any time between September 12, 2026 (four weeks before the October 10, 2026 end of the term), and October 10, 2026 (the end of term).