import { default } from "https://deno.land/x/date_fns@v2.22.1/getISOWeeksInYear/index.ts";
Examples
// How many weeks are in ISO week-numbering year 2015?
const result = getISOWeeksInYear(new Date(2015, 1, 11))
//=> 53
// How many weeks are in ISO week-numbering year 2015? const result = getISOWeeksInYear(new Date(2015, 1, 11)) //=> 53
Parameters
dirtyDate: Date | number
- the given date