19 lines
437 B
TypeScript
19 lines
437 B
TypeScript
import { Predicate, PredicateOptions } from './predicate';
|
|
export declare class DatePredicate extends Predicate<Date> {
|
|
/**
|
|
@hidden
|
|
*/
|
|
constructor(options?: PredicateOptions);
|
|
/**
|
|
Test a date to be before another date.
|
|
|
|
@param date - Maximum value.
|
|
*/
|
|
before(date: Date): this;
|
|
/**
|
|
Test a date to be before another date.
|
|
|
|
@param date - Minimum value.
|
|
*/
|
|
after(date: Date): this;
|
|
}
|