神岛 API 文档 - ArenaPro版
    Preparing search index...

    Interface RelativeTimeFormatOptions

    An object with some or all of properties of options parameter of Intl.RelativeTimeFormat constructor.

    MDN.

    interface RelativeTimeFormatOptions {
        localeMatcher?: RelativeTimeFormatLocaleMatcher;
        numeric?: RelativeTimeFormatNumeric;
        style?: RelativeTimeFormatStyle;
    }
    Index

    Properties

    The locale matching algorithm to use. For information about this option, see Intl page.

    The format of output message.

    The length of the internationalized message.