"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;
    }
});
const needFullMonth = (format)=>/M{3,4}/g.test(format);
const getDateFormatDelimiter = (format)=>{
    if (!format) {
        return '';
    }
    const delimiter = format.match(/[^a-zA-Z0-9]/)?.[0];
    return delimiter ?? '';
};
