Searched refs:createDurationFromNanos (Results 1 – 2 of 2) sorted by relevance
399 duration = TimeUtil.createDurationFromNanos(1111111111); in testDurationConversion()410 duration = TimeUtil.createDurationFromNanos(-1111111111); in testDurationConversion()478 Duration d2 = TimeUtil.subtract(d1, TimeUtil.createDurationFromNanos(1)); in testTimeOperations()
346 public static Duration createDurationFromNanos(long nanoseconds) { in createDurationFromNanos() method in TimeUtil