Liking cljdoc? Tell your friends :D

js.RelativeTimeFormat

The Intl.RelativeTimeFormat object is a constructor for objects enable language-sensitive relative time formatting.

The Intl.RelativeTimeFormat object is a constructor for objects
enable language-sensitive relative time formatting.
raw docstring

formatcljs

(format this value unit)

Method.

The Intl.RelativeTimeFormat.prototype.format() method formats value and unit according to the locale and formatting options this js.RelativeTimeFormat object.

relativeTimeFormat.format(value, unit)

See also: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/RelativeTimeFormat/format

Method.

The Intl.RelativeTimeFormat.prototype.format() method formats
value and unit according to the locale and formatting options
this `js.RelativeTimeFormat` object.

`relativeTimeFormat.format(value, unit)`

See also: `https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/RelativeTimeFormat/format`
sourceraw docstring

format-to-partscljs

(format-to-parts this value unit)

Method.

The Intl.RelativeTimeFormat.prototype.formatToParts() method an js.Array of objects representing the relative time format parts that can be used for custom locale-aware formatting.

RelativeTimeFormat.formatToParts(value, unit)

See also: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/RelativeTimeFormat/formatToParts

Method.

The Intl.RelativeTimeFormat.prototype.formatToParts() method
an `js.Array` of objects representing the relative time format
parts that can be used for custom locale-aware formatting.

`RelativeTimeFormat.formatToParts(value, unit)`

See also: `https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/RelativeTimeFormat/formatToParts`
sourceraw docstring

prototypecljs

(prototype this)

Property.

The Intl.RelativeTimeFormat.prototype property represents the object for the Intl.RelativeTimeFormat constructor.

See also: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/RelativeTimeFormat/prototype

Property.

The Intl.RelativeTimeFormat.prototype property represents the
object for the `Intl.RelativeTimeFormat` constructor.

See also: `https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/RelativeTimeFormat/prototype`
sourceraw docstring

resolved-optionscljs

(resolved-options this)

Method.

The Intl.RelativeTimeFormat.prototype.resolvedOptions() method a new object with properties reflecting the locale and relative formatting options computed during initialization of this js.RelativeTimeFormat

relativeTimeFormat.resolvedOptions()

See also: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/RelativeTimeFormat/resolvedOptions

Method.

The Intl.RelativeTimeFormat.prototype.resolvedOptions() method
a new object with properties reflecting the locale and relative
formatting options computed during initialization of this `js.RelativeTimeFormat`

`relativeTimeFormat.resolvedOptions()`

See also: `https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/RelativeTimeFormat/resolvedOptions`
sourceraw docstring

set-prototype!cljs

(set-prototype! this val)

Property.

The Intl.RelativeTimeFormat.prototype property represents the object for the Intl.RelativeTimeFormat constructor.

See also: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/RelativeTimeFormat/prototype

Property.

The Intl.RelativeTimeFormat.prototype property represents the
object for the `Intl.RelativeTimeFormat` constructor.

See also: `https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/RelativeTimeFormat/prototype`
sourceraw docstring

supported-locales-ofcljs

(supported-locales-of this & args)

Method.

The Intl.RelativeTimeFormat.supportedLocalesOf() method returns array containing those of the provided locales that are supported date and time formatting without having to fall back to the runtime's locale.

Intl.RelativeTimeFormat.supportedLocalesOf(locales[, options])

See also: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/RelativeTimeFormat/supportedLocalesOf

Method.

The Intl.RelativeTimeFormat.supportedLocalesOf() method returns
array containing those of the provided locales that are supported
date and time formatting without having to fall back to the runtime's
locale.

`Intl.RelativeTimeFormat.supportedLocalesOf(locales[, options])`

See also: `https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/RelativeTimeFormat/supportedLocalesOf`
sourceraw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close