UNPKG

445 BTypeScriptView Raw
1import { Predicate, type PredicateOptions } from './predicate.js';
2export declare class DatePredicate extends Predicate<Date> {
3 /**
4 @hidden
5 */
6 constructor(options?: PredicateOptions);
7 /**
8 Test a date to be before another date.
9
10 @param date - Maximum value.
11 */
12 before(date: Date): this;
13 /**
14 Test a date to be before another date.
15
16 @param date - Minimum value.
17 */
18 after(date: Date): this;
19}