Home
last modified time | relevance | path

Searched full:date (Results 1 – 25 of 6986) sorted by relevance

12345678910>>...280

/third_party/typescript/tests/baselines/reference/
Dlibrary_DatePrototypeProperties.types2 // Properties of the Date prototype object as per ES5 spec
4 Date.prototype.constructor;
5 >Date.prototype.constructor : Function
6 >Date.prototype : Date
7 >Date : DateConstructor
8 >prototype : Date
11 Date.prototype.toString();
12 >Date.prototype.toString() : string
13 >Date.prototype.toString : () => string
14 >Date.prototype : Date
[all …]
Dlibrary_DatePrototypeProperties.js2 // Properties of the Date prototype object as per ES5 spec
4 Date.prototype.constructor; class
5 Date.prototype.toString();
6 Date.prototype.toDateString();
7 Date.prototype.toTimeString();
8 Date.prototype.toLocaleString();
9 Date.prototype.toLocaleDateString();
10 Date.prototype.toLocaleTimeString();
11 Date.prototype.valueOf();
13 Date.prototype.getTime();
[all …]
DobjectTypesIdentityWithGenericConstructSignaturesDifferingByReturnType2.types6 class B<T extends Date> {
14 class C<T extends Date> {
22 interface I<T extends Date> {
23 new(x: T): Date;
28 new<T extends Date>(x: T): RegExp;
32 var a: { new<T extends Date>(x: T): T }
33 >a : new <T extends Date>(x: T) => T
36 var b = { new<T extends Date>(x: T) { return null; } }; // not a construct signature, function call…
37 >b : { new<T extends Date>(x: T): any; }
38 >{ new<T extends Date>(x: T) { return null; } } : { new<T extends Date>(x: T): any; }
[all …]
DobjectTypesIdentityWithGenericCallSignaturesDifferingByReturnType2.types9 foo<T extends Date>(x: T): string { return null; }
10 >foo : <T extends Date>(x: T) => string
15 class B<T extends Date> {
24 class C<T extends Date> {
33 interface I<T extends Date> {
34 foo(x: T): Date;
35 >foo : (x: T) => Date
40 foo<T extends Date>(x: T): RegExp;
41 >foo : <T extends Date>(x: T) => RegExp
45 var a: { foo<T extends Date>(x: T): T }
[all …]
Dlibrary_DatePrototypeProperties.symbols2 // Properties of the Date prototype object as per ES5 spec
4 Date.prototype.constructor;
5 >Date.prototype.constructor : Symbol(Object.constructor, Decl(lib.es5.d.ts, --, --))
6 >Date.prototype : Symbol(DateConstructor.prototype, Decl(lib.es5.d.ts, --, --))
7 >Date : Symbol(Date, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --,…
11 Date.prototype.toString();
12 >Date.prototype.toString : Symbol(Date.toString, Decl(lib.es5.d.ts, --, --))
13 >Date.prototype : Symbol(DateConstructor.prototype, Decl(lib.es5.d.ts, --, --))
14 >Date : Symbol(Date, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --,…
16 >toString : Symbol(Date.toString, Decl(lib.es5.d.ts, --, --))
[all …]
DgenericTypeAssertions6.types38 class B<T extends Date, U extends Date> extends A<T, U> {
46 var a: Date = x;
47 >a : Date
50 var b = <Date>x;
51 >b : Date
52 ><Date>x : Date
55 var c = <T>new Date();
57 ><T>new Date() : T
58 >new Date() : Date
59 >Date : DateConstructor
[all …]
Dfor-inStatementsArray.types2 let a: Date[];
3 >a : Date[]
10 >a : Date[]
13 >a1 : Date
14 >a[x] : Date
15 >a : Date[]
19 >a2 : Date
20 >a[(x)] : Date
21 >a : Date[]
26 >a3 : Date
[all …]
DderivedClassWithoutExplicitConstructor2.types90 class D<T extends Date> extends Base2<T> {
104 >d : D<Date>
105 >new D() : D<Date>
108 var d2 = new D(new Date()); // ok
109 >d2 : D<Date>
110 >new D(new Date()) : D<Date>
112 >new Date() : Date
113 >Date : DateConstructor
115 var d3 = new D(new Date(), new Date());
116 >d3 : D<Date>
[all …]
DobjectTypeWithStringNamedNumericProperty.types24 "1.0": Date;
25 >"1.0" : Date
30 "-1": Date;
31 >"-1" : Date
80 >r6 : Date
81 >c['1.0'] : Date
93 >r7 : Date
94 >i[-1] : Date
100 >r7 : Date
101 >i[-1.0] : Date
[all …]
DtypeParameterAssignability2.types73 function foo4<T extends U, U extends V, V extends Date>(t: T, u: U, v: V) {
74 >foo4 : <T extends U, U extends V, V extends Date>(t: T, u: U, v: V) => void
89 t = new Date(); // error
90 >t = new Date() : Date
92 >new Date() : Date
93 >Date : DateConstructor
105 u = new Date(); // error
106 >u = new Date() : Date
108 >new Date() : Date
109 >Date : DateConstructor
[all …]
DpropertyAccessOnTypeParameterWithConstraints.types5 class C<T extends Date> {
31 var r = (new C<Date>()).f();
33 >(new C<Date>()).f() : number
34 >(new C<Date>()).f : () => number
35 >(new C<Date>()) : C<Date>
36 >new C<Date>() : C<Date>
40 interface I<T extends Date> {
44 var i: I<Date>;
45 >i : I<Date>
51 >i.foo : Date
[all …]
DexternModule.types25 constructor(year: number, month: number, date: number);
28 >date : number
30 constructor(year: number, month: number, date: number, hours: number);
33 >date : number
36 constructor(year: number, month: number, date: number, hours: number, minutes: number);
39 >date : number
43 …constructor(year: number, month: number, date: number, hours: number, minutes: number, seconds: nu…
46 >date : number
51 …constructor(year: number, month: number, date: number, hours: number, minutes: number, seconds: nu…
54 >date : number
[all …]
DtypeArgumentInferenceTransitiveConstraints.types2 function fn<A extends Date, B extends A, C extends B>(a: A, b: B, c: C) {
3 >fn : <A extends Date, B extends A, C extends B>(a: A, b: B, c: C) => A[]
15 var d = fn(new Date(), new Date(), new Date());
16 >d : Date[]
17 >fn(new Date(), new Date(), new Date()) : Date[]
18 >fn : <A extends Date, B extends A, C extends B>(a: A, b: B, c: C) => A[]
19 >new Date() : Date
20 >Date : DateConstructor
21 >new Date() : Date
22 >Date : DateConstructor
[all …]
DpropertyAccessOnTypeParameterWithConstraints4.types2 class C<T extends Date> {
28 var r = (new C<Date>()).f();
30 >(new C<Date>()).f() : any
31 >(new C<Date>()).f : () => any
32 >(new C<Date>()) : C<Date>
33 >new C<Date>() : C<Date>
37 interface I<T extends Date> {
41 var i: I<Date>;
42 >i : I<Date>
48 >i.foo : Date
[all …]
DtwoMergedInterfacesWithDifferingOverloads.types6 >foo : { (x: number): number; (x: string): string; (x: Date): Date; }
10 >foo : { (x: number): number; (x: string): string; (x: Date): Date; }
15 foo(x: Date): Date;
16 >foo : { (x: number): number; (x: string): string; (x: Date): Date; }
17 >x : Date
22 >foo : { (x: T): number; (x: string): string; (x: T): Date; (x: Date): string; }
26 >foo : { (x: T): number; (x: string): string; (x: T): Date; (x: Date): string; }
31 foo(x: T): Date;
32 >foo : { (x: T): number; (x: string): string; (x: T): Date; (x: Date): string; }
35 foo(x: Date): string;
[all …]
/third_party/rust/crates/version_check/src/
Ddate.rs3 /// Release date including year, month, and day.
6 pub struct Date(u32); struct
8 impl Date { impl
9 /// Reads the release date of the running compiler. If it cannot be
15 /// use version_check::Date;
17 /// match Date::read() {
18 /// Some(d) => format!("The release date is: {}", d),
19 /// None => format!("Failed to read the release date.")
22 pub fn read() -> Option<Date> { in read()
24 .and_then(|(_, date)| date) in read()
[all …]
/third_party/typescript/tests/cases/compiler/
Dlibrary_DatePrototypeProperties.ts1 // Properties of the Date prototype object as per ES5 spec
3 Date.prototype.constructor;
4 Date.prototype.toString();
5 Date.prototype.toDateString();
6 Date.prototype.toTimeString();
7 Date.prototype.toLocaleString();
8 Date.prototype.toLocaleDateString();
9 Date.prototype.toLocaleTimeString();
10 Date.prototype.valueOf();
12 Date.prototype.getTime();
[all …]
/third_party/jerryscript/tests/jerry/
Ddate-tostring.js15 assert (new Date (NaN) == "Invalid Date");
16 assert (new Date (Infinity, 1, 1, 0, 0, 0) == "Invalid Date");
17 assert (new Date (2015, Infinity, 1, 0, 0, 0) == "Invalid Date");
18 assert (new Date (2015, 7, 1, 0, Infinity, 0) == "Invalid Date");
19 assert (new Date (NaN, 1, 1, 0, 0, 0) == "Invalid Date");
20 assert (new Date (2015, NaN, 1, 0, 0, 0) == "Invalid Date");
21 assert (new Date (2015, 7, 1, 0, NaN, 0) == "Invalid Date");
22 assert (/Fri Feb 13 2015 \d{2}:\d{2}:\d{2} GMT\+\d{2}\d{2}/.test (new Date ("2015-02-13")));
23 assert (/Wed Jul 08 2015 \d{2}:\d{2}:\d{2} GMT\+\d{2}\d{2}/.test (new Date ("2015-07-08T11:29:05.02…
27 Date.prototype.toString.call(-1); class
[all …]
Ddate-parse.js77 var d = Date.parse(wrongFormats[i]);
83 d = Date.parse(undefined);
86 d = Date.parse({});
89 d = Date.parse(2000 + 15);
92 d = Date.parse("2015");
95 d = Date.parse("2015-01");
98 d = Date.parse("2015-01-01");
101 d = Date.parse("2015-01T00:00");
104 d = Date.parse("2015-01T00:00:00");
107 d = Date.parse("2015-01T00:00:00.000");
[all …]
/third_party/icu/icu4c/source/test/testdata/
Dcalendar.txt31 "ERA=1,YEAR=1,MONTH=JUNE,DATE=4", // tw
32 "ERA=1,YEAR=1912,MONTH=,DATE=" // greg
36 "ERA=1,YEAR=3,MONTH=FEBRUARY,DATE=12", // tw
37 "ERA=1,YEAR=1914,MONTH=,DATE=" // greg
41 "ERA=1,YEAR=96,MONTH=FEBRUARY,DATE=12", // tw
42 "ERA=1,YEAR=2007,MONTH=,DATE=" // greg
48 "ERA=0,YEAR=2,MONTH=JANUARY,DATE=24", // tw
49 "ERA=1,YEAR=1910,MONTH=JANUARY,DATE=24", // greg
56 "EXTENDED_YEAR=4601,MONTH=6,DATE=28,IS_LEAP_MONTH=0", // ch
57 "YEAR=1964,MONTH=8,DATE=4", // greg
[all …]
Dformat.txt24 Headers { "locale", "zone", "spec", "date", "str"}
27 // spec: either 'PATTERN=y mm h' etc, or 'DATE=SHORT,TIME=LONG'
28 // date: either 'MILLIS=####' where #### is millis,
31 …// or RELATIVE_ADD:DATE=1 which means that the field "DATE" will be added by +1 relative t…
38 "DATE=SHORT,TIME=SHORT",
39 "ERA=1,YEAR=2007,MONTH=AUGUST,DATE=8,HOUR_OF_DAY=18,MINUTE=54,SECOND=0",
45 "DATE=LONG",
46 "ERA=1,YEAR=98,MONTH=0,DATE=24",
53 "DATE=LONG",
54 "ERA=0,YEAR=2,MONTH=0,DATE=24",
[all …]
/third_party/libffi/
DChangeLog3 Date: Mon Jun 28 21:10:49 2021 -0400
9 Date: Mon Jun 28 19:50:29 2021 -0400
15 Date: Mon Jun 28 18:50:31 2021 -0400
21 Date: Mon Jun 28 18:45:11 2021 -0400
27 Date: Mon Jun 28 14:59:07 2021 -0400
33 Date: Mon Jun 28 11:51:35 2021 -0700
39 Date: Mon Jun 28 07:24:19 2021 -0700
49 Date: Mon Jun 28 09:53:01 2021 -0400
55 Date: Mon Jun 28 04:56:30 2021 -0700
63 Date: Sun Jun 27 11:02:33 2021 -0700
[all …]
/third_party/typescript/tests/baselines/reference/tsserver/symLinks/
Dmodule-resolution-when-project-compiles-from-sources.js6 …"file": "/users/username/projects/myproject/javascript/packages/recognizers-date-time/src/datetime…
26 //// [/users/username/projects/myproject/javascript/packages/recognizers-date-time/src/datetime/bas…
30 //// [/users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json]
46 …rch path: /users/username/projects/myproject/javascript/packages/recognizers-date-time/src/datetime
47 …/recognizers-date-time/src/datetime/baseDate.ts :: Config file name: /users/username/projects/mypr…
48 … project /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json
49 …ages/recognizers-date-time/tsconfig.json 2000 undefined Project: /users/username/projects/myprojec…
51 …rs-date-time/tsconfig.json","reason":"Creating possible configured project for /users/username/pro…
52 …onfig: /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json …
54 …"/users/username/projects/myproject/javascript/packages/recognizers-date-time/src/datetime/baseDat…
[all …]
Dmodule-resolution-with-path-mapping-when-project-compiles-from-sources.js6 …"file": "/users/username/projects/myproject/javascript/packages/recognizers-date-time/src/datetime…
26 //// [/users/username/projects/myproject/javascript/packages/recognizers-date-time/src/datetime/bas…
30 //// [/users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json]
46 …rch path: /users/username/projects/myproject/javascript/packages/recognizers-date-time/src/datetime
47 …/recognizers-date-time/src/datetime/baseDate.ts :: Config file name: /users/username/projects/mypr…
48 … project /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json
49 …ages/recognizers-date-time/tsconfig.json 2000 undefined Project: /users/username/projects/myprojec…
51 …rs-date-time/tsconfig.json","reason":"Creating possible configured project for /users/username/pro…
52 …onfig: /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json …
54 …"/users/username/projects/myproject/javascript/packages/recognizers-date-time/src/datetime/baseDat…
[all …]
/third_party/node/deps/v8/src/builtins/
Dbuiltins-date.cc8 #include "src/date/date.h"
9 #include "src/date/dateparser-inl.h"
15 #include "src/objects/js-date-time-format.h"
23 // ES6 section 20.3 Date Objects
27 // ES6 section 20.3.1.16 Date Time String Format
45 double date = MakeDate(day, time); in ParseDateTimeString() local
47 if (date >= -DateCache::kMaxTimeBeforeUTCInMs && in ParseDateTimeString()
48 date <= DateCache::kMaxTimeBeforeUTCInMs) { in ParseDateTimeString()
49 date = isolate->date_cache()->ToUTC(static_cast<int64_t>(date)); in ParseDateTimeString()
54 date -= out[DateParser::UTC_OFFSET] * 1000.0; in ParseDateTimeString()
[all …]

12345678910>>...280