UNPKG

timeperiodjs

Version:
21 lines (20 loc) 496 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.Filter = void 0; class Filter { constructor(periods, dates) { this._periods = []; this._dates = []; if (periods) this._periods = [...periods]; if (dates) this._dates = [...dates]; } get periods() { return [...this._periods]; } get dates() { return [...this._dates]; } } exports.Filter = Filter;