Rocky_Mountain_Vending/.pnpm-store/v10/files/d5/cccfb39de434c7f35e366e2b4a983f313c6600298f57e0641bece3472994ab5dcce3a17e43ff52c5d718e3867c1a338009ab21b05a418b2ce4301834b630a9
DMleadgen 46d973904b
Initial commit: Rocky Mountain Vending website
Next.js website for Rocky Mountain Vending company featuring:
- Product catalog with Stripe integration
- Service areas and parts pages
- Admin dashboard with Clerk authentication
- SEO optimized pages with JSON-LD structured data

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-02-12 16:22:15 -07:00

35 lines
1.2 KiB
Text

import type { ContextOptions, DateArg } from "./types.js";
/**
* The {@link differenceInCalendarISOWeekYears} function options.
*/
export interface DifferenceInCalendarISOWeekYearsOptions
extends ContextOptions<Date> {}
/**
* @name differenceInCalendarISOWeekYears
* @category ISO Week-Numbering Year Helpers
* @summary Get the number of calendar ISO week-numbering years between the given dates.
*
* @description
* Get the number of calendar ISO week-numbering years between the given dates.
*
* ISO week-numbering year: http://en.wikipedia.org/wiki/ISO_week_date
*
* @param laterDate - The later date
* @param earlierDate - The earlier date
* @param options - An object with options
*
* @returns The number of calendar ISO week-numbering years
*
* @example
* // How many calendar ISO week-numbering years are 1 January 2010 and 1 January 2012?
* const result = differenceInCalendarISOWeekYears(
* new Date(2012, 0, 1),
* new Date(2010, 0, 1)
* )
* //=> 2
*/
export declare function differenceInCalendarISOWeekYears(
laterDate: DateArg<Date> & {},
earlierDate: DateArg<Date> & {},
options?: DifferenceInCalendarISOWeekYearsOptions | undefined,
): number;