aiparking_api/node_modules/ow/dist/lib/predicates/date.d.ts
2020-02-02 15:24:30 +07:00

20 lines
451 B
TypeScript

import { Predicate, Context } from './predicate';
export declare class DatePredicate extends Predicate<Date> {
/**
* @hidden
*/
constructor(context?: Context<Date>);
/**
* 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;
}