()
| 84 | } |
| 85 | |
| 86 | private getFirstDayOfWeek(): number { |
| 87 | const firstDay = this.options.plugin?.settings?.calendarViewSettings?.firstDay; |
| 88 | return typeof firstDay === "number" && |
| 89 | Number.isInteger(firstDay) && |
| 90 | firstDay >= 0 && |
| 91 | firstDay <= 6 |
| 92 | ? firstDay |
| 93 | : 0; |
| 94 | } |
| 95 | |
| 96 | private buildMenu(): void { |
| 97 | if (this.options.title) { |