Home
last modified time | relevance | path

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

12345678910>>...335

/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 …]
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 …]
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 …]
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.errors.txt14 …onstraint of type 'T', but 'T' could be instantiated with a different subtype of constraint 'Date'.
16 …onstraint of type 'T', but 'T' could be instantiated with a different subtype of constraint 'Date'.
17 Type 'Date' is not assignable to type 'T'.
18 …'Date' is assignable to the constraint of type 'T', but 'T' could be instantiated with a different…
20 …onstraint of type 'T', but 'T' could be instantiated with a different subtype of constraint 'Date'.
21 …ntCompatibility/typeParameterAssignability2.ts(27,5): error TS2322: Type 'Date' is not assignable …
22 …'Date' is assignable to the constraint of type 'T', but 'T' could be instantiated with a different…
24 …onstraint of type 'U', but 'U' could be instantiated with a different subtype of constraint 'Date'.
25 Type 'Date' is not assignable to type 'U'.
26 …'Date' is assignable to the constraint of type 'U', but 'U' could be instantiated with a different…
[all …]
/third_party/libsoup/libsoup/
Dsoup-date.c3 * soup-date.c: Date/time handling
16 #include "soup-date.h"
27 * @utc: %TRUE if the date is in UTC
30 * A date and time. The date is assumed to be in the (proleptic)
68 rata_die_day (SoupDate *date) in rata_die_day() argument
72 day = (date->year - 1) * 365 + ((date->year - 1) / 4) - in rata_die_day()
73 ((date->year - 1) / 100) + ((date->year - 1) / 400); in rata_die_day()
74 day += nonleap_days_before[date->month] + date->day; in rata_die_day()
75 if (is_leap_year (date->year) && date->month > 2) in rata_die_day()
94 soup_date_fixup (SoupDate *date) in G_DEFINE_BOXED_TYPE()
[all …]
/third_party/boost/libs/date_time/test/gregorian/
Dtestdate_iterator.cpp13 void test_month_decrement_iterator(const boost::gregorian::date *Answers, int array_len){ in test_month_decrement_iterator()
15 typedef boost::date_time::month_functor<date> mfg; in test_month_decrement_iterator()
17 boost::date_time::date_itr<mfg, date> ditr(Answers[array_len-1]); in test_month_decrement_iterator()
34 void test_base_iterator(boost::gregorian::date end, in test_base_iterator()
49 day_iterator di(date(2002,Jan,1)); in main()
51 test_base_iterator(date(2002,Jan,3),di,data); in main()
52 month_iterator di2(date(2002,Jan,3)); in main()
53 test_base_iterator(date(2002,Mar,1),di2,data); in main()
59 typedef boost::date_time::day_functor<date> dfg; in main()
62 const date DayAnswers[] = {date(2000,Jan,20),date(2000,Jan,22),date(2000,Jan,24)}; in main()
[all …]
Dtestdate.cpp17 sdesc << "should" << (allowed ? "" : " not") << " be able to make a date in year " << yr; in test_yearlimit()
20 boost::gregorian::date chkyr(yr, 1, 1); in test_yearlimit()
34 date def; in main()
35 check("Default constructor", def == date(not_a_date_time)); in main()
43 constexpr date d1(1900,1,1); in main()
47 constexpr date d2 = date(2000,12,31); in main()
48 constexpr date d3(d2); in main()
57 date d1(1900,1,1); in main()
58 date d2 = date(2000,1,1); in main()
59 date d3(d2); in main()
[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 …]
/third_party/python/Misc/NEWS.d/
D3.5.3rc1.rst2 .. date: 9898
4 .. release date: 2017-01-02
12 .. date: 9897
21 .. date: 9896
31 .. date: 9895
41 .. date: 9894
50 .. date: 9893
60 .. date: 9892
70 .. date: 9891
80 .. date: 9890
[all …]
D3.5.0a1.rst2 .. date: 8948
4 .. release date: 2015-02-08
12 .. date: 8947
22 .. date: 8946
32 .. date: 8945
42 .. date: 8944
52 .. date: 8943
64 .. date: 8942
74 .. date: 8941
84 .. date: 8940
[all …]
D3.6.0a1.rst2 .. date: 9253
4 .. release date: 2016-05-16
12 .. date: 9252
21 .. date: 9251
30 .. date: 9250
40 .. date: 9249
49 .. date: 9248
59 .. date: 9247
69 .. date: 9246
78 .. date: 9245
[all …]
D3.5.2rc1.rst2 .. date: 9673
4 .. release date: 2016-06-12
13 .. date: 9672
22 .. date: 9671
31 .. date: 9670
40 .. date: 9669
49 .. date: 9668
58 .. date: 9667
67 .. date: 9666
79 .. date: 9665
[all …]
D3.6.0b1.rst2 .. date: 9619
4 .. release date: 2016-09-12
15 .. date: 9618
25 .. date: 9617
34 .. date: 9616
44 .. date: 9615
57 .. date: 9614
66 .. date: 9613
75 .. date: 9612
85 .. date: 9611
[all …]
D3.6.0b2.rst2 .. date: 9707
4 .. release date: 2016-10-10
12 .. date: 9706
21 .. date: 9705
31 .. date: 9704
41 .. date: 9703
51 .. date: 9702
61 .. date: 9701
71 .. date: 9700
81 .. date: 9699
[all …]

12345678910>>...335