Lines Matching refs:RelativeTimeFormat
761 ## RelativeTimeFormat<sup>8+</sup>
767 Creates a **RelativeTimeFormat** object.
775 // Use the system locale to create a RelativeTimeFormat object.
776 let relativetimefmt = new intl.RelativeTimeFormat();
784 Creates a **RelativeTimeFormat** object.
795 …relativetimeformatinputoptions8) | No | Options for creating a **RelativeTimeFormat** object. …
799 …// Use locale zh-CN to create a RelativeTimeFormat object. Set localeMatcher to lookup, numeric to…
800 …let relativeTimeFormat = new intl.RelativeTimeFormat("zh-CN", {"localeMatcher": "lookup", "numeric…
829 // Use locale zh-CN to create a RelativeTimeFormat object.
830 let relativetimefmt = new intl.RelativeTimeFormat("zh-CN");
861 // Use locale en to create a RelativeTimeFormat object. Set numeric to auto.
862 let relativetimefmt = new intl.RelativeTimeFormat("en", {"numeric": "auto"});
871 Obtains the formatting options for **RelativeTimeFormat** objects.
881 …ons](#relativetimeformatresolvedoptions8) | Formatting options for **RelativeTimeFormat** objects.|
885 // Use locale en-GB to create a RelativeTimeFormat object.
886 let relativetimefmt= new intl.RelativeTimeFormat("en-GB", { style: "short" });
887 // Obtain the options of the RelativeTimeFormat object.
895 Defines the options for creating a **RelativeTimeFormat** object.
915 Represents the properties of a **RelativeTimeFormat** object.