/third_party/protobuf/java/util/src/main/java/com/google/protobuf/util/ |
D | Durations.java | 81 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_MINUTE; in toMinutes() 367 return checkValid(duration).getSeconds(); in toSeconds() 385 return duration.getSeconds() + duration.getNanos() / 1e9; in toSecondsAsDouble() [all …]
|
D | Timestamps.java | 109 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(), from.getSeconds()), in between() 374 checkedAdd(start.getSeconds(), length.getSeconds()), in add() [all …]
|
D | TimeUtil.java | 330 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/ |
D | TimeUtilTest.java | 46 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() 489 assertEquals(2, TimeUtil.divide(d1, -2).getSeconds()); in testTimeOperations() [all …]
|
/third_party/jerryscript/tests/jerry/ |
D | date-getters.js | 30 assert (d.getSeconds() == 14); 50 assert (d.getSeconds() == 14); 70 assert (d.getSeconds() == 0); 91 assert (isNaN (d.getSeconds())); 105 assert (new Date(-1, -1, -1, -1, -1, -1, -1).getSeconds() === 58);
|
D | date-setters.js | 41 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);
|
D | regression-test-issue-786.js | 23 try { Date.prototype.getSeconds() } catch (err) { } method in Date
|
/third_party/protobuf/php/src/Google/Protobuf/Internal/ |
D | GPBUtil.php | 461 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);
|
/third_party/typescript/tests/baselines/reference/ |
D | library_DatePrototypeProperties.js | 26 Date.prototype.getSeconds(); method in Date 76 Date.prototype.getSeconds(); method in Date
|
D | library_DatePrototypeProperties.types | 171 Date.prototype.getSeconds(); 172 >Date.prototype.getSeconds() : number 173 >Date.prototype.getSeconds : () => number 177 >getSeconds : () => number
|
D | library_DatePrototypeProperties.symbols | 151 Date.prototype.getSeconds(); 152 >Date.prototype.getSeconds : Symbol(Date.getSeconds, Decl(lib.es5.d.ts, --, --)) 156 >getSeconds : Symbol(Date.getSeconds, Decl(lib.es5.d.ts, --, --))
|
D | 1.0lib-noErrors.js | 657 getSeconds(): number;
|
/third_party/protobuf/php/tests/ |
D | memory_leak_test.php | 156 assert(1, $from->getSeconds()); 163 assert($from->format('U') == $timestamp->getSeconds());
|
D | WellKnownTest.php | 311 $this->assertEquals(1, $timestamp->getSeconds()); 317 $this->assertEquals($from->format('U'), $timestamp->getSeconds()); 355 $this->assertEquals(1, $duration->getSeconds());
|
D | EncodeDecodeTest.php | 944 $this->assertEquals(1234, $m->getSeconds()); 960 $this->assertEquals(946684800, $m->getSeconds());
|
/third_party/protobuf/php/src/Google/Protobuf/ |
D | Duration.php | 114 public function getSeconds() function in Google\\Protobuf\\Duration
|
D | Timestamp.php | 124 public function getSeconds() function in Google\\Protobuf\\Timestamp
|
/third_party/typescript/src/jsTyping/ |
D | shared.ts | 60 …(), 2, "0")}:${padLeft(d.getMinutes().toString(), 2, "0")}:${padLeft(d.getSeconds().toString(), 2,…
|
/third_party/typescript/tests/cases/compiler/ |
D | library_DatePrototypeProperties.ts | 25 Date.prototype.getSeconds();
|
/third_party/protobuf/js/ |
D | proto3_test.js | 446 assertEquals(123456, msg.getSeconds()); 451 assertEquals(msg.getSeconds(), anotherMsg.getSeconds());
|
/third_party/node/lib/ |
D | util.js | 186 pad(d.getSeconds())].join(':');
|
/third_party/typescript/tests/cases/conformance/decorators/ |
D | 1.0lib-noErrors.ts | 657 getSeconds(): number; method
|
/third_party/jerryscript/jerry-core/lit/ |
D | lit-magic-strings.ini | 274 LIT_MAGIC_STRING_GET_SECONDS_UL = "getSeconds"
|
/third_party/jsframework/runtime/main/extend/systemplugin/napi/ |
D | ohos_notification.js | 156 getSeconds: function () { method
|
/third_party/node/deps/npm/node_modules/core-util-is/ |
D | float.patch | 463 - pad(d.getSeconds())].join(':');
|