Intl.RelativeTimeFormat

GPTKB entity

Statements (41)
Predicate Object
gptkbp:instanceOf object
gptkbp:acceptsLocale de
en
fr
zh
ja
gptkbp:availableOn modern browsers
gptkbp:builtBy RelativeTimeFormat objects
gptkbp:canFormatUnit gptkb:March
gptkb:time_zone
gptkb:quarter
annual
second
hour
minute
week
gptkbp:category Internationalization
gptkbp:definedIn gptkb:ECMA-402
gptkbp:documentation https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/RelativeTimeFormat
gptkbp:hasOption style
numeric
localeMatcher
https://www.w3.org/2000/01/rdf-schema#label Intl.RelativeTimeFormat
gptkbp:introducedIn gptkb:ECMAScript_2018
gptkbp:method format
formatToParts
gptkbp:optionNumeric always
auto
gptkbp:optionStyle short
long
narrow
gptkbp:partOf gptkb:ECMAScript_Internationalization_API
gptkbp:staticMethod supportedLocalesOf
gptkbp:supportedBy gptkb:Google_Chrome
gptkb:Mozilla_Firefox
gptkb:Node.js
gptkb:Microsoft_Edge
gptkb:Safari
gptkbp:usedFor formatting relative time
gptkbp:bfsParent gptkb:Intl_object
gptkbp:bfsLayer 6