static Duration msToDuration(double ms) { ret Duration.ofNanos(msToNanos(ms)); }