Files
klz-cables.com/.pnpm-store/v10/files/02/9713015b472e96ac5f4945ed1f0be95521637c1bae619786d0fab5339213fc8cf3141e61855a4f9d460a0c90132e7c3bd17fa42e16e33a746b1cd4fdd63996
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

28 lines
685 B
Plaintext

import type { ContextOptions, DateArg } from "./types.js";
/**
* The {@link getQuarter} function options.
*/
export interface GetQuarterOptions extends ContextOptions<Date> {}
/**
* @name getQuarter
* @category Quarter Helpers
* @summary Get the year quarter of the given date.
*
* @description
* Get the year quarter of the given date.
*
* @param date - The given date
* @param options - An object with options
*
* @returns The quarter
*
* @example
* // Which quarter is 2 July 2014?
* const result = getQuarter(new Date(2014, 6, 2));
* //=> 3
*/
export declare function getQuarter(
date: DateArg<Date> & {},
options?: GetQuarterOptions | undefined,
): number;