Home
last modified time | relevance | path

Searched refs:getSeconds (Results 1 - 22 of 22) sorted by relevance

/third_party/protobuf/java/util/src/main/java/com/google/protobuf/util/
H A DDurations.java81 int secDiff = Long.compare(d1.getSeconds(), d2.getSeconds());
115 return isValid(duration.getSeconds(), duration.getNanos()); in isValid()
146 return (duration.getSeconds() == 0) ? duration.getNanos() < 0 : duration.getSeconds() < 0; in isNegative()
181 long seconds = duration.getSeconds(); in checkValid()
217 long seconds = duration.getSeconds(); in toString()
340 return checkValid(duration).getSeconds() / SECONDS_PER_DAY; in toDays()
349 return checkValid(duration).getSeconds() / SECONDS_PER_HOUR; in toHours()
358 return checkValid(duration).getSeconds() / SECONDS_PER_MINUT in toMinutes()
[all...]
H A DTimestamps.java109 int secDiff = Long.compare(t1.getSeconds(), t2.getSeconds());
143 return isValid(timestamp.getSeconds(), timestamp.getNanos()); in isValid()
169 long seconds = timestamp.getSeconds(); in checkValid()
206 long seconds = timestamp.getSeconds(); in toString()
298 return checkValid(timestamp).getSeconds(); in toSeconds()
319 checkedMultiply(timestamp.getSeconds(), MILLIS_PER_SECOND), in toMillis()
341 checkedMultiply(timestamp.getSeconds(), MICROS_PER_SECOND), in toMicros()
357 checkedMultiply(timestamp.getSeconds(), NANOS_PER_SECOND), timestamp.getNanos()); in toNanos()
365 checkedSubtract(to.getSeconds(), fro in between()
[all...]
H A DTimeUtil.java330 double result = duration.getSeconds() * times + duration.getNanos() * times / 1000000000.0; in multiply()
368 return toBigInteger(duration.getSeconds()) in toBigInteger()
/third_party/protobuf/java/util/src/test/java/com/google/protobuf/util/
H A DTimeUtilTest.java46 assertEquals(TimeUtil.TIMESTAMP_SECONDS_MIN, start.getSeconds()); in testTimestampStringFormat()
48 assertEquals(TimeUtil.TIMESTAMP_SECONDS_MAX, end.getSeconds()); in testTimestampStringFormat()
54 assertEquals(0, value.getSeconds()); in testTimestampStringFormat()
59 assertEquals(-1, value.getSeconds()); in testTimestampStringFormat()
101 if (result.getSeconds() != values[index].getSeconds() in run()
270 assertEquals(315576000000L, duration.getSeconds()); in testDurationStringFormat()
273 assertEquals(-315576000000L, duration.getSeconds()); in testDurationStringFormat()
483 assertEquals(-2, TimeUtil.divide(d1, 2).getSeconds()); in testTimeOperations()
484 assertEquals(-1, TimeUtil.remainder(d1, d2).getSeconds()); in testTimeOperations()
[all...]
/third_party/jerryscript/tests/jerry/
H A Ddate-setters.js41 assert (d.getSeconds() == 1);
44 assert (d.getSeconds() == 1);
63 assert (d.getSeconds() == 1);
67 assert (d.getSeconds() == 1);
96 assert (d.getSeconds() == 1);
101 assert (d.getSeconds() == 1);
H A Dregression-test-issue-786.js23 try { Date.prototype.getSeconds() } catch (err) { }
/third_party/protobuf/php/src/Google/Protobuf/Internal/
H A DGPBUtil.php461 if (bccomp($value->getSeconds(), "253402300800") != -1) {
464 if (bccomp($value->getSeconds(), "-62135596801") != 1) {
471 $date = new \DateTime('@'.$value->getSeconds(), new \DateTimeZone("UTC"));
507 if (bccomp($value->getSeconds(), '315576000001') != -1) {
510 if (bccomp($value->getSeconds(), '-315576000001') != 1) {
516 return (string) $value->getSeconds();
528 return bcadd($value->getSeconds(), $nanos, $digits);
H A DMessage.php841 $submsg->setSeconds($timestamp->getSeconds());
/third_party/typescript/tests/baselines/reference/
H A Dlibrary_DatePrototypeProperties.js26 Date.prototype.getSeconds();
76 Date.prototype.getSeconds();
/third_party/protobuf/php/tests/
H A Dmemory_leak_test.php156 assert(1, $from->getSeconds());
163 assert($from->format('U') == $timestamp->getSeconds());
H A DWellKnownTest.php311 $this->assertEquals(1, $timestamp->getSeconds());
317 $this->assertEquals($from->format('U'), $timestamp->getSeconds());
355 $this->assertEquals(1, $duration->getSeconds());
H A DEncodeDecodeTest.php944 $this->assertEquals(1234, $m->getSeconds());
960 $this->assertEquals(946684800, $m->getSeconds());
/third_party/protobuf/php/src/Google/Protobuf/
H A DDuration.php114 public function getSeconds() function
H A DTimestamp.php124 public function getSeconds() function
/third_party/protobuf/js/
H A Dproto3_test.js446 assertEquals(123456, msg.getSeconds());
451 assertEquals(msg.getSeconds(), anotherMsg.getSeconds());
/third_party/node/test/fixtures/postject-copy/node_modules/postject/dist/
H A Dapi.js[all...]
/third_party/typescript/lib/
H A DtypingsInstaller.js[all...]
H A Dtsserverlibrary.js[all...]
H A Dtypescript.js[all...]
H A DtypescriptServices.js[all...]
H A Dtsserver.js[all...]
/third_party/node/test/fixtures/snapshot/
H A Dtypescript.js[all...]

Completed in 187 milliseconds