Interface RelativeTimeFormatOptions
interface RelativeTimeFormatOptions {
localeMatcher?: RelativeTimeFormatLocaleMatcher;
numeric?: RelativeTimeFormatNumeric;
style?: RelativeTimeFormatStyle;
}
localeMatcher?: RelativeTimeFormatLocaleMatcher;
numeric?: RelativeTimeFormatNumeric;
style?: RelativeTimeFormatStyle;
}
Index
Properties
Properties
OptionallocaleMatcher
The locale matching algorithm to use. For information about this option, see Intl page.
Optionalnumeric
The format of output message.
Optionalstyle
The length of the internationalized message.
An object with some or all of properties of
optionsparameter ofIntl.RelativeTimeFormatconstructor.MDN.