import { setISOWeekYear } from "https://deno.land/x/date_fns@v2.5.1/index.js";
Examples
// Set ISO week-numbering year 2007 to 29 December 2008:
var result = setISOWeekYear(new Date(2008, 11, 29), 2007)
//=> Mon Jan 01 2007 00:00:00
// Set ISO week-numbering year 2007 to 29 December 2008: var result = setISOWeekYear(new Date(2008, 11, 29), 2007) //=> Mon Jan 01 2007 00:00:00