https://kotlinlang.org logo
#kotlinx-datetime
Title
# kotlinx-datetime
h

holgerbrandl

10/23/2023, 6:46 AM
Hi there, why are there no Duration extensions in the standard library such as
Number.seconds
but just
Double.seconds
?
e

ephemient

10/23/2023, 6:55 AM
Number is not an interface a library can handle in any reasonable complete way
what should that do with a BigInteger? a Complex?
h

holgerbrandl

10/23/2023, 7:00 AM
Ah understood. Thanks for the clarification