Home
last modified time | relevance | path

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

/external/protobuf/java/util/src/main/java/com/google/protobuf/util/
DTimeUtil.java59 private static final long MICROS_PER_SECOND = 1000000; field in TimeUtil
301 return normalizedTimestamp(microseconds / MICROS_PER_SECOND, in createTimestampFromMicros()
302 (int) (microseconds % MICROS_PER_SECOND * NANOS_PER_MICROSECOND)); in createTimestampFromMicros()
309 return normalizedDuration(microseconds / MICROS_PER_SECOND, in createDurationFromMicros()
310 (int) (microseconds % MICROS_PER_SECOND * NANOS_PER_MICROSECOND)); in createDurationFromMicros()
321 return timestamp.getSeconds() * MICROS_PER_SECOND + timestamp.getNanos() in toMicros()
331 return duration.getSeconds() * MICROS_PER_SECOND + duration.getNanos() in toMicros()