Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

endOfISOWeekYear

import { endOfISOWeekYear } from "https://esm.sh/v135/date-fns@3.6.0/index.d.mts";
@example
// The end of an ISO week-numbering year for 2 July 2005:
const result = endOfISOWeekYear(new Date(2005, 6, 2))
//=> Sun Jan 01 2006 23:59:59.999
function endOfISOWeekYear<DateType extends Date>(date: DateType | number | string): DateType;
§
endOfISOWeekYear<DateType extends Date>(date: DateType | number | string): DateType
[src]

§Type Parameters

§
DateType extends Date
[src]

§Parameters

§
date: DateType | number | string
[src]
  • The original date

§Return Type

§
DateType
[src]

The end of an ISO week-numbering year