Home
last modified time | relevance | path

Searched refs:createDurationFromNanos (Results 1 – 2 of 2) sorted by relevance

/external/protobuf/java/util/src/test/java/com/google/protobuf/util/
DTimeUtilTest.java399 duration = TimeUtil.createDurationFromNanos(1111111111); in testDurationConversion()
410 duration = TimeUtil.createDurationFromNanos(-1111111111); in testDurationConversion()
478 Duration d2 = TimeUtil.subtract(d1, TimeUtil.createDurationFromNanos(1)); in testTimeOperations()
/external/protobuf/java/util/src/main/java/com/google/protobuf/util/
DTimeUtil.java346 public static Duration createDurationFromNanos(long nanoseconds) { in createDurationFromNanos() method in TimeUtil