Home
last modified time | relevance | path

Searched refs:toISOString (Results 1 – 25 of 56) sorted by relevance

123

/third_party/jerryscript/tests/jerry/
Ddate-toisostring.js18 d.toISOString()
24 assert (new Date (-8640000000000000).toISOString() == "-271821-04-20T00:00:00.000Z")
26 assert (new Date(-62167219200001).toISOString() == "-000001-12-31T23:59:59.999Z")
27 assert (new Date(-62167219200000).toISOString() == "0000-01-01T00:00:00.000Z")
29 assert (new Date(-61851600000001).toISOString() == "0009-12-31T23:59:59.999Z")
30 assert (new Date(-61851600000000).toISOString() == "0010-01-01T00:00:00.000Z")
32 assert (new Date(-59011459200001).toISOString() == "0099-12-31T23:59:59.999Z")
33 assert (new Date(-59011459200000).toISOString() == "0100-01-01T00:00:00.000Z")
35 assert (new Date(-30610224000001).toISOString() == "0999-12-31T23:59:59.999Z")
36 assert (new Date(-30610224000000).toISOString() == "1000-01-01T00:00:00.000Z")
[all …]
Ddate-tostring.js38 assert (date.toISOString() === "1970-01-01T00:00:00.000Z");
43 assert (date.toISOString() === "2015-08-12T09:40:20.000Z");
74 assert (new Date ("2015-07-16").toISOString () == "2015-07-16T00:00:00.000Z");
75 assert (new Date ("2015-07-16T11:29:05.023").toISOString () == "2015-07-16T11:29:05.023Z");
79 new Date (NaN).toISOString ();
89 new Date (Number.POSITIVE_INFINITY).toISOString ();
99 Date.prototype.toISOString.call(-1); method in Date
136 assert (new Date (date_time).toISOString () == "2015-07-08T11:29:05.023Z");
144 assert (new Date ("2015-07-08T11:29:05.023Z").toISOString() == "2015-07-08T11:29:05.023Z");
Dregression-test-issue-786.js24 try { isNaN.apply(Date.prototype.toISOString, String.prototype.split) } catch (err) { }
Ddate-setters.js221 assert (d.toISOString() == "1968-12-01T01:00:00.000Z");
225 assert (d.toISOString() == "1971-01-31T01:00:00.000Z");
/third_party/typescript/tests/baselines/reference/
DdestructuringControlFlowNoCrash.types12 date.toISOString();
13 >date.toISOString() : any
14 >date.toISOString : any
16 >toISOString : any
29 date2.toISOString();
30 >date2.toISOString() : any
31 >date2.toISOString : any
33 >toISOString : any
DdestructuringControlFlowNoCrash.js7 date.toISOString();
14 date2.toISOString();
60 date.toISOString();
63 date2.toISOString();
DdestructuringControlFlowNoCrash.symbols10 date.toISOString();
22 date2.toISOString();
Dlibrary_DatePrototypeProperties.js49 Date.prototype.toISOString(); method in Date
97 Date.prototype.toISOString(); method in Date
DdestructuringControlFlowNoCrash.errors.txt17 date.toISOString();
28 date2.toISOString();
Dlibrary_DatePrototypeProperties.types354 Date.prototype.toISOString();
355 >Date.prototype.toISOString() : string
356 >Date.prototype.toISOString : () => string
360 >toISOString : () => string
/third_party/quickjs/tests/
Dtest_builtin.js480 assert(d.toISOString(), "2017-09-22T16:37:38.091Z");
482 assert(d.toISOString(), "2017-09-22T18:10:11.091Z");
483 a = Date.parse(d.toISOString());
484 assert((new Date(a)).toISOString(), d.toISOString());
485 s = new Date("2020-01-01T01:01:01.1Z").toISOString();
487 s = new Date("2020-01-01T01:01:01.12Z").toISOString();
489 s = new Date("2020-01-01T01:01:01.123Z").toISOString();
491 s = new Date("2020-01-01T01:01:01.1234Z").toISOString();
493 s = new Date("2020-01-01T01:01:01.12345Z").toISOString();
495 s = new Date("2020-01-01T01:01:01.1235Z").toISOString();
[all …]
/third_party/node/deps/npm/lib/utils/
Dmetrics.js37 metrics.metrics.to = new Date().toISOString()
47 from: new Date().toISOString(),
48 to: new Date().toISOString(),
/third_party/typescript/tests/cases/compiler/
DdestructuringControlFlowNoCrash.ts7 date.toISOString();
14 date2.toISOString();
Dlibrary_DatePrototypeProperties.ts48 Date.prototype.toISOString();
/third_party/node/deps/npm/node_modules/qs/test/
Dstringify.js313 var str = 'a=' + encodeURIComponent(now.toISOString());
500 'a=' + date.toISOString().replace(/:/g, '%3A'),
505 mutatedDate.toISOString = function () { function
509 mutatedDate.toISOString();
513 'a=' + Date.prototype.toISOString.call(mutatedDate).replace(/:/g, '%3A'),
/third_party/jerryscript/tests/jerry/es5.1/
Dregression-test-issue-1080.js16 new Date("2015-07-09T12:13:14.121+01:30").toISOString();
/third_party/node/deps/npm/node_modules/npm-profile/
Dindex.js145 date: new Date().toISOString()
172 date: new Date().toISOString()
/third_party/typescript/scripts/
DconfigurePrerelease.ts89 const timeStr = now.toISOString().replace(/:|T|\.|-/g, "").slice(0, 8);
/third_party/node/deps/npm/node_modules/pacote/lib/fetchers/
Ddirectory.js26 [manifest.version]: (new Date()).toISOString()
/third_party/node/deps/npm/node_modules/debug/src/
Dnode.js126 return new Date().toISOString() + ' ';
/third_party/node/deps/npm/test/tap/
Dall-package-metadata-update-stream-unit.js82 date: (new Date(now)).toISOString()
/third_party/jsframework/runtime/main/manage/event/
DTaskCenter.ts101 return v.toISOString();
/third_party/node/deps/npm/node_modules/libnpmpublish/test/
Dpublish.js162 modified: new Date().toISOString(),
163 created: new Date().toISOString(),
164 '1.0.1': new Date().toISOString()
/third_party/protobuf/src/google/protobuf/
Dtimestamp.proto117 // [toISOString()](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects…
/third_party/node/deps/npm/lib/search/
Dformat-package-stream.js166 (data.date.toISOString() // remove time

123