Rocky_Mountain_Vending/.pnpm-store/v10/files/48/9581fe5a1be195ebf371410f070bda0661022c6f8d5b691308da34be2f2e559f7f89ea93e744d472815a2907c4187531bff2c51fc167b13a1d8ef29a70137c
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

40 lines
977 B
Text

"use strict";
exports.startOfTomorrow = startOfTomorrow;
var _index = require("./constructFrom.cjs");
var _index2 = require("./constructNow.cjs");
/**
* The {@link startOfTomorrow} function options.
*/
/**
* @name startOfTomorrow
* @category Day Helpers
* @summary Return the start of tomorrow.
* @pure false
*
* @typeParam ContextDate - The `Date` type of the context function.
*
* @param options - An object with options
*
* @returns The start of tomorrow
*
* @description
* Return the start of tomorrow.
*
* @example
* // If today is 6 October 2014:
* const result = startOfTomorrow()
* //=> Tue Oct 7 2014 00:00:00
*/
function startOfTomorrow(options) {
const now = (0, _index2.constructNow)(options?.in);
const year = now.getFullYear();
const month = now.getMonth();
const day = now.getDate();
const date = (0, _index.constructFrom)(options?.in, 0);
date.setFullYear(year, month, day + 1);
date.setHours(0, 0, 0, 0);
return date;
}