Home
last modified time | relevance | path

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

/external/protobuf/java/util/src/main/java/com/google/protobuf/util/
DTimeUtil.java56 private static final long NANOS_PER_MILLISECOND = 1000000; field in TimeUtil
264 (int) (milliseconds % MILLIS_PER_SECOND * NANOS_PER_MILLISECOND)); in createTimestampFromMillis()
272 (int) (milliseconds % MILLIS_PER_SECOND * NANOS_PER_MILLISECOND)); in createDurationFromMillis()
284 / NANOS_PER_MILLISECOND; in toMillis()
294 / NANOS_PER_MILLISECOND; in toMillis()
517 if (nanos % NANOS_PER_MILLISECOND == 0) { in formatNanos()
518 return String.format("%1$03d", nanos / NANOS_PER_MILLISECOND); in formatNanos()
/external/opencensus-java/contrib/zpages/src/main/java/io/opencensus/contrib/zpages/
DStatszZPageHandler.java112 private static final long NANOS_PER_MILLISECOND = 1000 * 1000; field in StatszZPageHandler
367 + timestamp.getNanos() / NANOS_PER_MILLISECOND)); in toDate()