(date: DateValue, locale: string, firstDayOfWeek?: DayOfWeek)
| 259 | ): CalendarDate; |
| 260 | export function endOfWeek(date: DateValue, locale: string, firstDayOfWeek?: DayOfWeek): DateValue; |
| 261 | export function endOfWeek(date: DateValue, locale: string, firstDayOfWeek?: DayOfWeek): DateValue { |
| 262 | return startOfWeek(date, locale, firstDayOfWeek).add({days: 6}); |
| 263 | } |
| 264 | |
| 265 | const cachedRegions = new Map<string, string>(); |
| 266 | const cachedWeekInfo = new Map<string, {firstDay: number}>(); |
no test coverage detected