All Downloads are FREE. Search and download functionalities are using the official Maven repository.

package.dist.features.LegacyDateFormats.js Maven / Gradle / Ivy

import { getFormatSettings } from "../InitialConfiguration.js";
import { registerFeature } from "../FeaturesRegistry.js";
let formatSettings;
class LegacyDateFormats {
    /**
     * Returns the currently set customizing data for Islamic calendar support
     *
     * @return {object[]} Returns an array that contains the customizing data.
     * @public
     */
    static getLegacyDateCalendarCustomizing() {
        if (formatSettings === undefined) {
            formatSettings = getFormatSettings();
        }
        return formatSettings.legacyDateCalendarCustomizing || [];
    }
}
registerFeature("LegacyDateFormats", LegacyDateFormats);
export default LegacyDateFormats;
//# sourceMappingURL=LegacyDateFormats.js.map




© 2015 - 2024 Weber Informatics LLC | Privacy Policy