From 91565741a86ea0dfe9c9e27f3f0d38d2a86ca66f Mon Sep 17 00:00:00 2001 From: Kenearos Date: Tue, 7 Jul 2026 11:37:36 +0200 Subject: [PATCH] refactor(holidays): remove dead getHolidaysForYear Zero callers across app, calculator, image-import and tests. Holiday lookup goes through isHoliday/getHolidayName only. Co-Authored-By: Claude Opus 4.8 (1M context) --- holidays.js | 9 --------- 1 file changed, 9 deletions(-) diff --git a/holidays.js b/holidays.js index 7500315..545700b 100644 --- a/holidays.js +++ b/holidays.js @@ -141,15 +141,6 @@ class HolidayProvider { const day = String(date.getDate()).padStart(2, '0'); return `${year}-${month}-${day}`; } - - /** - * Get all holidays for a specific year - * @param {number} year - * @returns {Array} - */ - getHolidaysForYear(year) { - return this.holidays[year] || []; - } } // Make it available globally