Rocky_Mountain_Vending/.pnpm-store/v10/files/1c/897590a91033be725aec7de38a265eb451b9e39a90782526b5635f1470c77435154c4b1ec0fe24fc46165e622a7f950907cdd6de56aa9c98d6c6415223596f
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

26 lines
847 B
Text

import type { ContextOptions, DateArg } from "./types.js";
/**
* The {@link differenceInMonths} function options.
*/
export interface DifferenceInMonthsOptions extends ContextOptions<Date> {}
/**
* @name differenceInMonths
* @category Month Helpers
* @summary Get the number of full months between the given dates.
*
* @param laterDate - The later date
* @param earlierDate - The earlier date
* @param options - An object with options
*
* @returns The number of full months
*
* @example
* // How many full months are between 31 January 2014 and 1 September 2014?
* const result = differenceInMonths(new Date(2014, 8, 1), new Date(2014, 0, 31))
* //=> 7
*/
export declare function differenceInMonths(
laterDate: DateArg<Date> & {},
earlierDate: DateArg<Date> & {},
options?: DifferenceInMonthsOptions | undefined,
): number;