Kotlin Wrappers API Reference
Toggle table of contents
web
Target filter
web
Switch theme
Search in API
Skip to content
Kotlin Wrappers API Reference
kotlin-js
/
js.intl
/
DateTimeFormat
/
formatToParts
format
To
Parts
web
fun
formatToParts
(
date
:
Date
=
definedExternally
)
:
ReadonlyArray
<
DateTimeFormatPart
>
(
source
)
fun
formatToParts
(
date
:
Int53
)
:
ReadonlyArray
<
DateTimeFormatPart
>
(
source
)
fun
formatToParts
(
date
:
PlainDate
=
definedExternally
)
:
ReadonlyArray
<
DateTimeFormatPart
>
(
source
)
fun
formatToParts
(
date
:
PlainYearMonth
)
:
ReadonlyArray
<
DateTimeFormatPart
>
(
source
)
fun
formatToParts
(
date
:
PlainMonthDay
)
:
ReadonlyArray
<
DateTimeFormatPart
>
(
source
)
fun
formatToParts
(
date
:
PlainTime
)
:
ReadonlyArray
<
DateTimeFormatPart
>
(
source
)
fun
formatToParts
(
date
:
PlainDateTime
)
:
ReadonlyArray
<
DateTimeFormatPart
>
(
source
)
fun
formatToParts
(
date
:
Instant
)
:
ReadonlyArray
<
DateTimeFormatPart
>
(
source
)