Kotlin Wrappers API Reference
Toggle table of contents
web
Target filter
web
Switch theme
Search in API
kotlin-js
/
js.temporal
/
Roundable
Roundable
web
sealed
interface
Roundable
<
T
:
Roundable
<
T
,
U
>
,
U
:
DateTimeUnit
<
U
>
>
(
source
)
Inheritors
Instant
PlainDateTime
PlainTime
ZonedDateTime
Members
Functions
round
Link copied to clipboard
web
open
fun
round
(
roundTo
:
RoundTo
<
U
>
)
:
T
open
fun
round
(
roundTo
:
SmallestUnit
<
U
>
)
:
T