Locale Options Interface

interface Locale {
    code?: string;
    date?: (
        value: Date,
        language: string,
        options: DateTimeFormatOptions,
        preformattedLocaleValue?: string,
    ) => string;
    number?: (value: number, language: string) => string;
    optionsObject?: {
        "15seconds"?: interfaces.LocaleTimeScaleOptions;
        "30minutes"?: interfaces.LocaleTimeScaleOptions;
        daily?: interfaces.LocaleTimeScaleOptions;
        hourly?: interfaces.LocaleTimeScaleOptions;
        minute?: interfaces.LocaleTimeScaleOptions;
        monthly?: interfaces.LocaleTimeScaleOptions;
        quarterly?: interfaces.LocaleTimeScaleOptions;
        weekly?: interfaces.LocaleTimeScaleOptions;
        yearly?: interfaces.LocaleTimeScaleOptions;
    };
    time?: (
        value: Date,
        language: string,
        options: DateTimeFormatOptions,
        preformattedLocaleValue?: string,
    ) => string;
    translations?: {
        group?: string;
        meter?: { title?: string };
        tabularRep: { downloadAsCSV?: string; title?: string };
        toolbar: {
            exitFullScreen?: string;
            exportAsCSV?: string;
            exportAsJPG?: string;
            exportAsPNG?: string;
            makeFullScreen?: string;
            moreOptions?: string;
            resetZoom?: string;
            showAsTable?: string;
            zoomIn?: string;
            zoomOut?: string;
        };
        total?: string;
    };
}

Properties

code?: string
date?: (
    value: Date,
    language: string,
    options: DateTimeFormatOptions,
    preformattedLocaleValue?: string,
) => string
number?: (value: number, language: string) => string
optionsObject?: {
    "15seconds"?: interfaces.LocaleTimeScaleOptions;
    "30minutes"?: interfaces.LocaleTimeScaleOptions;
    daily?: interfaces.LocaleTimeScaleOptions;
    hourly?: interfaces.LocaleTimeScaleOptions;
    minute?: interfaces.LocaleTimeScaleOptions;
    monthly?: interfaces.LocaleTimeScaleOptions;
    quarterly?: interfaces.LocaleTimeScaleOptions;
    weekly?: interfaces.LocaleTimeScaleOptions;
    yearly?: interfaces.LocaleTimeScaleOptions;
}
time?: (
    value: Date,
    language: string,
    options: DateTimeFormatOptions,
    preformattedLocaleValue?: string,
) => string
translations?: {
    group?: string;
    meter?: { title?: string };
    tabularRep: { downloadAsCSV?: string; title?: string };
    toolbar: {
        exitFullScreen?: string;
        exportAsCSV?: string;
        exportAsJPG?: string;
        exportAsPNG?: string;
        makeFullScreen?: string;
        moreOptions?: string;
        resetZoom?: string;
        showAsTable?: string;
        zoomIn?: string;
        zoomOut?: string;
    };
    total?: string;
}