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