Interface RelativeTimeFormatOptions

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

MDN.

Hierarchy

  • RelativeTimeFormatOptions

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.