Type Alias: DateInterval
DateInterval = {
after
:Date
;before
:Date
; }
Defined in: src/types/shared.ts:253
An interval of dates. Differently from DateRange, the range ends here are not included.
Example
// Match the days between the 2nd and the 5th of February 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:253
before
before:
Date
Defined in: src/types/shared.ts:253