Rocky_Mountain_Vending/.pnpm-store/v10/files/da/da3e6192065f1889fcf51040c63afb3e29f656a8fa0df1d99a3a8ab238abc69228cbdd80079e0e6e46021b88997b0d80833d74b4b4cffb43012413f8443a12
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

27 lines
686 B
Text

import type { ContextOptions, DateArg } from "./types.js";
/**
* The {@link getDecade} function options.
*/
export interface GetDecadeOptions extends ContextOptions<Date> {}
/**
* @name getDecade
* @category Decade Helpers
* @summary Get the decade of the given date.
*
* @description
* Get the decade of the given date.
*
* @param date - The given date
* @param options - An object with options
*
* @returns The year of decade
*
* @example
* // Which decade belongs 27 November 1942?
* const result = getDecade(new Date(1942, 10, 27))
* //=> 1940
*/
export declare function getDecade(
date: DateArg<Date> & {},
options?: GetDecadeOptions | undefined,
): number;