Files
klz-cables.com/.pnpm-store/v10/files/4c/ea95753891df4cbd055095356ba887112b0d3d14e02bff0e9e2af1a346294b75470164ff177a163dc20559a1737f185ca614e8cc53918a95416013c0a187c9
Marc Mintel 5397309103
Some checks failed
Build & Deploy / 🔍 Prepare (push) Successful in 20s
Build & Deploy / 🧪 QA (push) Failing after 34s
Build & Deploy / 🏗️ Build (push) Has started running
Build & Deploy / 🚀 Deploy (push) Has been cancelled
Build & Deploy / 🧪 Smoke Test (push) Has been cancelled
Build & Deploy / ⚡ Lighthouse (push) Has been cancelled
Build & Deploy / 🔔 Notify (push) Has been cancelled
fix(products): fix breadcrumbs and product filtering (backport from main)
2026-02-24 16:04:21 +01:00

30 lines
928 B
Plaintext

import type { ContextOptions, DateArg } from "./types.js";
/**
* The {@link getISOWeeksInYear} function options.
*/
export interface GetISOWeeksInYearOptions extends ContextOptions<Date> {}
/**
* @name getISOWeeksInYear
* @category ISO Week-Numbering Year Helpers
* @summary Get the number of weeks in an ISO week-numbering year of the given date.
*
* @description
* Get the number of weeks in an ISO week-numbering year of the given date.
*
* ISO week-numbering year: http://en.wikipedia.org/wiki/ISO_week_date
*
* @param date - The given date
* @param options - An object with options
*
* @returns The number of ISO weeks in a year
*
* @example
* // How many weeks are in ISO week-numbering year 2015?
* const result = getISOWeeksInYear(new Date(2015, 1, 11))
* //=> 53
*/
export declare function getISOWeeksInYear(
date: DateArg<Date> & {},
options?: GetISOWeeksInYearOptions | undefined,
): number;