Type Alias: DateInterval
DateInterval = {
after
:Date
;before
:Date
; }
Defined in: src/types/shared.ts:217
An interval of dates. Unlike DateRange, the range ends are not included.
Example
// Match days between February 2 and February 5, 2019
const matcher: DateInterval = {
after: new Date(2019, 1, 2),
before: new Date(2019, 1, 5)
};
Properties
after
after:
Date
Defined in: src/types/shared.ts:217
before
before:
Date
Defined in: src/types/shared.ts:217