Rocky_Mountain_Vending/.pnpm-store/v10/files/67/2660e301b9c399c02a3b7bd361cf9fe6d2c7063407d31446887f66536026176acd82f1100719fe974b8a8eaeed1dfbd86e7bfbccc27e608a5a22184e7f889a
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
942 B
Text

"use strict";
exports.isThisQuarter = isThisQuarter;
var _index = require("./constructFrom.cjs");
var _index2 = require("./constructNow.cjs");
var _index3 = require("./isSameQuarter.cjs");
/**
* The {@link isThisQuarter} function options.
*/
/**
* @name isThisQuarter
* @category Quarter Helpers
* @summary Is the given date in the same quarter as the current date?
* @pure false
*
* @description
* Is the given date in the same quarter as the current date?
*
* @param date - The date to check
* @param options - An object with options
*
* @returns The date is in this quarter
*
* @example
* // If today is 25 September 2014, is 2 July 2014 in this quarter?
* const result = isThisQuarter(new Date(2014, 6, 2))
* //=> true
*/
function isThisQuarter(date, options) {
return (0, _index3.isSameQuarter)(
(0, _index.constructFrom)(options?.in || date, date),
(0, _index2.constructNow)(options?.in || date),
);
}