Packages

  • package root
    Definition Classes
    root
  • package org
    Definition Classes
    root
  • package scalajs
    Definition Classes
    org
  • package dom
    Definition Classes
    scalajs
  • package experimental
    Definition Classes
    dom
  • package intl

    The Intl object is the namespace for the ECMAScript Internationalization API, which provides language sensitive string comparison, number formatting, and date and time formatting.

    The Intl object is the namespace for the ECMAScript Internationalization API, which provides language sensitive string comparison, number formatting, and date and time formatting.

    The constructors for Collator, NumberFormat, and DateTimeFormat objects are properties of the Intl object. This page documents these properties as well as functionality common to the internationalization constructors and other language sensitive functions.

    MDN

    Definition Classes
    experimental
  • Collator
  • CollatorOptions
  • DateTimeFormat
  • DateTimeFormatOptions
  • NumberFormat
  • NumberFormatOptions

object DateTimeFormatOptions

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. DateTimeFormatOptions
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. def apply(localeMatcher: UndefOr[String] = js.undefined, timeZone: UndefOr[String] = js.undefined, hour12: UndefOr[Boolean] = js.undefined, formatMatcher: UndefOr[String] = js.undefined, weekday: UndefOr[String] = js.undefined, era: UndefOr[String] = js.undefined, year: UndefOr[String] = js.undefined, month: UndefOr[String] = js.undefined, day: UndefOr[String] = js.undefined, hour: UndefOr[String] = js.undefined, minute: UndefOr[String] = js.undefined, second: UndefOr[String] = js.undefined, timeZoneName: UndefOr[String] = js.undefined): DateTimeFormatOptions

    localeMatcher

    The locale matching algorithm to use. Possible values are "lookup" and "best fit"; the default is "best fit". For information about this option, see the Intl page.

    timeZone

    The time zone to use. The only value implementations must recognize is "UTC"; the default is the runtime's default time zone. Implementations may also recognize the time zone names of the IANA time zone database, such as "Asia/Shanghai", "Asia/Kolkata", "America/New_York".

    hour12

    Whether to use 12-hour time (as opposed to 24-hour time). Possible values are true and false; the default is locale dependent.

    formatMatcher

    The format matching algorithm to use. Possible values are "basic" and "best fit"; the default is "best fit". See the following paragraphs for information about the use of this property.

    weekday

    The representation of the weekday. Possible values are "narrow", "short", "long".

    era

    The representation of the era. Possible values are "narrow", "short", "long".

    year

    The representation of the year. Possible values are "numeric", "2-digit".

    month

    The representation of the month. Possible values are "numeric", "2-digit", "narrow", "short", "long".

    day

    The representation of the day. Possible values are "numeric", "2-digit".

    hour

    The representation of the hour. Possible values are "numeric", "2-digit".

    minute

    The representation of the minute. Possible values are "numeric", "2-digit".

    second

    The representation of the second. Possible values are "numeric", "2-digit".

    timeZoneName

    The representation of the time zone name. Possible values are "short", "long". MDN

  5. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  6. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  7. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  8. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  9. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  10. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  11. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  12. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  13. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  14. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  15. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  16. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  17. def toString(): String
    Definition Classes
    AnyRef → Any
  18. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  19. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  20. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()

Inherited from AnyRef

Inherited from Any

Ungrouped