Searched refs:NANOS_PER_MICROSECOND (Results 1 – 4 of 4) sorted by relevance
64 static final long NANOS_PER_MICROSECOND = 1000; field in Timestamps328 (int) (microseconds % MICROS_PER_SECOND * NANOS_PER_MICROSECOND)); in fromMicros()342 timestamp.getNanos() / NANOS_PER_MICROSECOND); in toMicros()431 } else if (nanos % NANOS_PER_MICROSECOND == 0) { in formatNanos()432 return String.format(Locale.ENGLISH, "%1$06d", nanos / NANOS_PER_MICROSECOND); in formatNanos()
41 import static com.google.protobuf.util.Timestamps.NANOS_PER_MICROSECOND;322 (int) (microseconds % MICROS_PER_SECOND * NANOS_PER_MICROSECOND)); in fromMicros()409 duration.getNanos() / NANOS_PER_MICROSECOND); in toMicros()
56 const NANOS_PER_MICROSECOND = 1000; define in Google\\Protobuf\\Internal\\GPBUtil585 if ($nanoseconds % static::NANOS_PER_MICROSECOND == 0) {586 return sprintf('%06d', $nanoseconds / static::NANOS_PER_MICROSECOND);
66 #define NANOS_PER_MICROSECOND ((int64_t) 1000) macro67 #define NANOS_PER_MILLISECOND (1000 * NANOS_PER_MICROSECOND)