MCPcopy
hub / github.com/date-fns/date-fns / lastDayOfISOWeek

Function lastDayOfISOWeek

pkgs/core/src/lastDayOfISOWeek/index.ts:35–43  ·  view source on GitHub ↗
(
  date: DateArg<DateType>,
  options?: LastDayOfISOWeekOptions<ResultDate> | undefined,
)

Source from the content-addressed store, hash-verified

33 * //=> Sun Sep 07 2014 00:00:00
34 */
35export function lastDayOfISOWeek<
36 DateType extends Date,
37 ResultDate extends Date = DateType,
38>(
39 date: DateArg<DateType>,
40 options?: LastDayOfISOWeekOptions<ResultDate> | undefined,
41): ResultDate {
42 return lastDayOfWeek(date, { ...options, weekStartsOn: 1 });
43}

Callers 1

test.tsFile · 0.90

Calls 1

lastDayOfWeekFunction · 0.90

Tested by

no test coverage detected