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) <noreply@anthropic.com>
This commit is contained in:
Kenearos 2026-07-07 11:37:36 +02:00
parent 4d8437e508
commit 91565741a8

View file

@ -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