UNPKG

@botonic/plugin-contentful

Version:

## What Does This Plugin Do?

13 lines 335 B
export * from './schedule'; export class DateRange { constructor(name, from, to) { this.name = name; this.from = from; this.to = to; } contains(date) { return (date.getTime() >= this.from.getTime() && date.getTime() < this.to.getTime()); } } //# sourceMappingURL=index.js.map