(date: Date)
| 371 | } |
| 372 | |
| 373 | _calculateWeekNumber(date: Date): number { |
| 374 | const oDateFormat = DateFormat.getDateInstance({ pattern: "w", calendarType: this.primaryCalendarType, calendarWeekNumbering: this.calendarWeekNumbering }); |
| 375 | const weekNumber = oDateFormat.format(date); |
| 376 | |
| 377 | return Number(weekNumber); |
| 378 | } |
| 379 | |
| 380 | /** |
| 381 | * Builds the dayNames object (header of the month). |
no test coverage detected