Closed kejml closed 2 hours ago
Hi! You are probably talking about kotlin.time.Duration
, right? This is kotlinx.datetime
, a different library. Filed at https://youtrack.jetbrains.com/issue/KT-72487/Add-extensions-like-UInt.hours-to-Duration
Oh yes, I'm sorry, thanks for pointing me in the correct direction and creating the ticket there for me!
I like using existing
Int.hours
,Double.hours
andLong.seconds
extension properties.Could we also get the same for unsigned types, i.e.
UInt.hours
andULong.seconds
?