UNPKG

wfm-mobile-core

Version:

WFM Mobile Core

30 lines (29 loc) 1.02 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.DataDay = void 0; var DataDay = /** @class */ (function () { function DataDay(num, act, today, hasDayPassed, date, isoDate, type) { if (num === void 0) { num = new Date().getDate(); } if (act === void 0) { act = true; } if (today === void 0) { today = false; } if (hasDayPassed === void 0) { hasDayPassed = false; } if (date === void 0) { date = ''; } if (isoDate === void 0) { isoDate = date.slice(0, 10); } if (type === void 0) { type = []; } this.number = 0; this.active = true; this.today = false; this.hasDayPassed = false; this.date = ''; this.isoDate = ''; this.number = num; this.active = act; this.today = today; this.hasDayPassed = hasDayPassed; this.date = date; this.isoDate = isoDate; this.type = type; } return DataDay; }()); exports.DataDay = DataDay;