Join Slack
Powered by
Hi there, why are there no Duration extensions in ...
# 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
ephemient
10/23/2023, 6:56 AM
what should that do with a BigInteger? a Complex?
h
holgerbrandl
10/23/2023, 7:00 AM
Ah understood. Thanks for the clarification
Open in Slack
Previous
Next