Searched refs:setNanos (Results 1 – 11 of 11) sorted by relevance
64 Duration.newBuilder().setSeconds(DURATION_SECONDS_MIN).setNanos(-999999999).build();68 Duration.newBuilder().setSeconds(DURATION_SECONDS_MAX).setNanos(999999999).build();71 public static final Duration ZERO = Duration.newBuilder().setSeconds(0L).setNanos(0).build();281 .setNanos(0) in fromDays()290 .setNanos(0) in fromHours()299 .setNanos(0) in fromMinutes()452 Duration duration = Duration.newBuilder().setSeconds(seconds).setNanos(nanos).build(); in normalizedDuration()
70 Timestamp.newBuilder().setSeconds(TIMESTAMP_SECONDS_MIN).setNanos(0).build();76 Timestamp.newBuilder().setSeconds(TIMESTAMP_SECONDS_MAX).setNanos(999999999).build();81 public static final Timestamp EPOCH = Timestamp.newBuilder().setSeconds(0).setNanos(0).build();398 Timestamp timestamp = Timestamp.newBuilder().setSeconds(seconds).setNanos(nanos).build(); in normalizedTimestamp()
399 return Duration.newBuilder().setSeconds(seconds).setNanos(nanos).build(); in normalizedDuration()
64 value = Timestamp.newBuilder().setNanos(10).build(); in testTimestampStringFormat()66 value = Timestamp.newBuilder().setNanos(10000).build(); in testTimestampStringFormat()68 value = Timestamp.newBuilder().setNanos(10000000).build(); in testTimestampStringFormat()167 Timestamp value = Timestamp.newBuilder().setNanos(-1).build(); in testTimetampInvalidFormat()176 Timestamp value = Timestamp.newBuilder().setNanos(1000000000).build(); in testTimetampInvalidFormat()251 duration = Duration.newBuilder().setNanos(10000000).build(); in testDurationStringFormat()253 duration = Duration.newBuilder().setNanos(10000).build(); in testDurationStringFormat()255 duration = Duration.newBuilder().setNanos(10).build(); in testDurationStringFormat()298 Duration value = Duration.newBuilder().setSeconds(1).setNanos(-1).build(); in testDurationInvalidFormat()307 Duration value = Duration.newBuilder().setSeconds(-1).setNanos(1).build(); in testDurationInvalidFormat()
164 public function setNanos($var) function in Google\\Protobuf\\Duration
170 public function setNanos($var) function in Google\\Protobuf\\Timestamp
455 $value->setNanos($nanoseconds);501 $duration->setNanos($nanos);
842 $submsg->setNanos($timestamp->getNanos());
310 $timestamp->setNanos(2);354 $duration->setNanos(2);
952 $m->setNanos(999999999);968 $m->setNanos(123456789);1199 $packed->setNanos(123456789);
91 // .setNanos((int) ((millis % 1000) * 1000000)).build();