object DateTimeFormatOptions
- Alphabetic
- By Inheritance
- DateTimeFormatOptions
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
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
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()