Uzi Landsmann
10/04/2020, 7:22 PMDuration
implementation in kotlin.time
I can see the extension methods from Int
and Long
to Duration
. However I’d like to use the Java function:
public static Duration ofSeconds(long seconds, long nanoAdjustment)
…which I can’t see an implementation for. Any thoughts on how to achieve the same in kotlin?jbnizet
10/04/2020, 7:43 PMUzi Landsmann
10/04/2020, 7:43 PMplus
method. Thanks!