export var needFullMonth = function needFullMonth(format) {
    return /M{3,4}/g.test(format);
};
export 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 : '';
};
