"use strict";

Object.defineProperty(exports, "__esModule", {
  value: true
});
exports.parseValue = void 0;
var _locale = require("@mirai/locale");
var _constants = require("./constants");
const parseValue = function () {
  let [from, to] = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : [];
  return [from ? (0, _locale.parseDate)(from, _constants.CALENDAR_FORMAT) : undefined, to ? (0, _locale.parseDate)(to, _constants.CALENDAR_FORMAT) : undefined];
};
exports.parseValue = parseValue;
//# sourceMappingURL=parseValue.js.map