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:
parent
4d8437e508
commit
91565741a8
1 changed files with 0 additions and 9 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue