toggle menu
Kotlin Wrappers API Reference
js
switch theme
search in API
kotlin-js
/
js.temporal
/
Roundable
Roundable
sealed
external
interface
Roundable
<
T
:
Roundable
<
T
,
U
>
,
U
:
DateTimeUnit
<
U
>
>
(
source
)
Inheritors
Instant
PlainDateTime
PlainTime
ZonedDateTime
Members
Functions
round
Link copied to clipboard
open
fun
round
(
roundTo
:
RoundTo
<
U
>
)
:
T
open
fun
round
(
roundTo
:
SmallestUnit
<
U
>
)
:
T