"use strict";exports.__esModule = true;exports.emptyDateComponents = exports.defaultFirstDayWeek = exports.defaultDateComponentsSeparator = exports.defaultDateComponentsOrder = exports.SEPARATOR = exports.RE_ORDER_YMD = exports.RE_ORDER_MDY = exports.RE_ORDER_DMY = exports.MIN_YEAR = exports.MIN_MONTH = exports.MIN_FULLDATE = exports.MIN_DATE = exports.MAX_YEAR = exports.MAX_MONTH = exports.MAX_FULLDATE = exports.MAX_DATE = exports.LENGTH_YEAR = exports.LENGTH_SEPARATOR = exports.LENGTH_MONTH = exports.LENGTH_FULLDATE = exports.LENGTH_DATE = exports.CHAR_PAD = exports.CHAR_MASK = void 0;var _types = require("./types");

var MIN_YEAR = exports.MIN_YEAR = 0;
var MAX_YEAR = exports.MAX_YEAR = 9999;
var MIN_MONTH = exports.MIN_MONTH = 1;
var MAX_MONTH = exports.MAX_MONTH = 12;
var MIN_DATE = exports.MIN_DATE = 1;
var MAX_DATE = exports.MAX_DATE = 31;
var MIN_FULLDATE = exports.MIN_FULLDATE = '01.01.1900';
var MAX_FULLDATE = exports.MAX_FULLDATE = '31.12.2099';
var LENGTH_YEAR = exports.LENGTH_YEAR = 4;
var LENGTH_MONTH = exports.LENGTH_MONTH = 2;
var LENGTH_DATE = exports.LENGTH_DATE = 2;
var LENGTH_SEPARATOR = exports.LENGTH_SEPARATOR = 1;
var LENGTH_FULLDATE = exports.LENGTH_FULLDATE = LENGTH_YEAR + LENGTH_MONTH + LENGTH_DATE + LENGTH_SEPARATOR * 2;
var CHAR_PAD = exports.CHAR_PAD = '0';
var CHAR_MASK = exports.CHAR_MASK = '_';
var SEPARATOR = exports.SEPARATOR = "(?:\\.|\\/|\\-|\\s|\\,)";
var RE_ORDER_MDY = exports.RE_ORDER_MDY = new RegExp("^(\\d{1," +
LENGTH_MONTH + "})?" + SEPARATOR + "?(\\d{1," + LENGTH_DATE + "})?" + SEPARATOR + "?(\\d{1," + LENGTH_YEAR + "})?$"
);
var RE_ORDER_DMY = exports.RE_ORDER_DMY = new RegExp("^(\\d{1," +
LENGTH_DATE + "})?" + SEPARATOR + "?(\\d{1," + LENGTH_MONTH + "})?" + SEPARATOR + "?(\\d{1," + LENGTH_YEAR + "})?$"
);
var RE_ORDER_YMD = exports.RE_ORDER_YMD = new RegExp("^(\\d{1," +
LENGTH_YEAR + "})?" + SEPARATOR + "?(\\d{1," + LENGTH_MONTH + "})?" + SEPARATOR + "?(\\d{1," + LENGTH_DATE + "})?$"
);
var emptyDateComponents = exports.emptyDateComponents = {
  year: null,
  month: null,
  date: null
};
var defaultDateComponentsOrder = exports.defaultDateComponentsOrder = _types.InternalDateOrder.DMY;
var defaultDateComponentsSeparator = exports.defaultDateComponentsSeparator = _types.InternalDateSeparator.Dot;
var defaultFirstDayWeek = exports.defaultFirstDayWeek = _types.InternalDateFirstDayWeek.Monday;