1 | import type { DateRange } from "../types/index.js";
|
2 | /**
|
3 | * Determines whether a given date is inside a specified date range.
|
4 | *
|
5 | * @since 9.0.0
|
6 | * @group Utilities
|
7 | */
|
8 | export declare function rangeIncludesDate(range: DateRange, date: Date,
|
9 | /** If `true`, the ends of the range are excluded. */
|
10 | excludeEnds?: boolean, dateLib?: import("../classes/DateLib.js").DateLib): boolean;
|
11 | /**
|
12 | * @private
|
13 | * @deprecated Use {@link rangeIncludesDate} instead.
|
14 | */
|
15 | export declare const isDateInRange: (range: DateRange, date: Date) => boolean;
|