getMF1Functions() function

This API is provided as a beta preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.

Build a MessageFormat runtime to use with ICU MessageFormat 1 messages.

The structure of this runtime and the options available for its formatters follow the MF1 specifications, rather than being based on the MF2 default runtime.

Signature:

getMF1Functions: () => {
    date: typeof date;
    duration: typeof duration;
    number: typeof number;
    time: typeof time;
}

Returns:

{ date: typeof date; duration: typeof duration; number: typeof number; time: typeof time; }