"use strict";
Object.defineProperty(exports, "__esModule", {
    value: true
});
function _export(target, all) {
    for(var name in all)Object.defineProperty(target, name, {
        enumerable: true,
        get: Object.getOwnPropertyDescriptor(all, name).get
    });
}
_export(exports, {
    get getDateFormatDelimiter () {
        return getDateFormatDelimiter;
    },
    get needFullMonth () {
        return needFullMonth;
    }
});
var needFullMonth = function needFullMonth(format) {
    return /M{3,4}/g.test(format);
};
var getDateFormatDelimiter = function getDateFormatDelimiter(format) {
    var _format_match;
    if (!format) {
        return '';
    }
    var delimiter = (_format_match = format.match(/[^a-zA-Z0-9]/)) === null || _format_match === void 0 ? void 0 : _format_match[0];
    return delimiter !== null && delimiter !== void 0 ? delimiter : '';
};
