* Pre-computes disabled date range timestamps once before the rendering loop. * Avoids repeated date string parsing inside the per-cell _isDateEnabled check. * @private
()
| 853 | * @private |
| 854 | */ |
| 855 | _precomputeDisabledDates(): Array<{ startTimestamp: number, endTimestamp: number }> { |
| 856 | return this.disabledDates.map(range => ({ |
| 857 | startTimestamp: this._getTimestampFromDateValue(range.startValue), |
| 858 | endTimestamp: this._getTimestampFromDateValue(range.endValue), |
| 859 | })); |
| 860 | } |
| 861 | |
| 862 | /** |
| 863 | * Checks if a given date is enabled (selectable). |
no test coverage detected