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>
17 lines
614 B
Text
17 lines
614 B
Text
import { type DateLib } from "../classes/DateLib.js";
|
|
/**
|
|
* Checks if a date range contains one or more specified days of the week.
|
|
*
|
|
* @since 9.2.2
|
|
* @param range - The date range to check.
|
|
* @param dayOfWeek - The day(s) of the week to check for (`0-6`, where `0` is
|
|
* Sunday).
|
|
* @param dateLib - The date utility library instance.
|
|
* @returns `true` if the range contains the specified day(s) of the week,
|
|
* otherwise `false`.
|
|
* @group Utilities
|
|
*/
|
|
export declare function rangeContainsDayOfWeek(range: {
|
|
from: Date;
|
|
to: Date;
|
|
}, dayOfWeek: number | number[], dateLib?: DateLib): boolean;
|