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

Function endOfISOWeek

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

Source from the content-addressed store, hash-verified

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

Callers 1

test.tsFile · 0.90

Calls 1

endOfWeekFunction · 0.90

Tested by

no test coverage detected