Updates to 3rd party libraries

Add Dockerfile and specific docker-php.ini
This commit is contained in:
2018-08-28 21:27:13 -04:00
parent 9edd6c1c35
commit d52454d1bb
511 changed files with 45960 additions and 2739 deletions

View File

@ -0,0 +1,489 @@
<?php
// Year, Month, Day, Result, Comments
return [
[
6890,
18,
11,
11,
],
// Excel 1900 Calendar Base Date
[
1,
1900,
1,
1,
],
// Day before Excel mythical 1900 leap day
[
59,
1900,
2,
28,
],
// Excel mythical 1900 leap day
[
60,
1900,
2,
29,
],
// Day after Excel mythical 1900 leap day
[
61,
1900,
3,
1,
],
// Day after Excel mythical 1900 leap day
[
713,
1901,
12,
13,
],
// PHP 32-bit Earliest Date
[
714,
1901,
12,
14,
],
[
1461,
1903,
12,
31,
],
// Excel 1904 Calendar Base Date
[
1462,
1904,
1,
1,
],
[
1463,
1904,
1,
2,
],
[
22269,
1960,
12,
19,
],
// PHP Base Date
[
25569,
1970,
1,
1,
],
[
30292,
1982,
12,
7,
],
[
39611,
2008,
6,
12,
],
// PHP 32-bit Latest Date
[
50424,
2038,
1,
19,
],
// Day after PHP 32-bit Latest Date
[
50425,
2038,
1,
20,
],
[
39448,
2008,
1,
1,
],
[
39447,
2008,
1,
null,
],
[
39446,
2008,
1,
-1,
],
[
39417,
2008,
1,
-30,
],
[
39416,
2008,
1,
-31,
],
[
39082,
2008,
1,
-365,
],
[
39508,
2008,
3,
1,
],
[
39507,
2008,
3,
null,
],
[
39506,
2008,
3,
-1,
],
[
39142,
2008,
3,
-365,
],
[
39417,
2008,
null,
1,
],
[
39387,
2008,
-1,
1,
],
[
39083,
2008,
-11,
1,
],
[
39052,
2008,
-12,
1,
],
[
39022,
2008,
-13,
1,
],
[
39051,
2008,
-13,
30,
],
[
39021,
2008,
-13,
null,
],
[
38991,
2008,
-13,
-30,
],
[
38990,
2008,
-13,
-31,
],
[
39814,
2008,
13,
1,
],
[
39507,
2007,
15,
null,
],
[
40210,
2008,
26,
1,
],
[
40199,
2008,
26,
-10,
],
[
38686,
2008,
-26,
61,
],
[
39641,
2010,
-15,
-50,
],
[
39741,
2010,
-15,
50,
],
[
40552,
2010,
15,
-50,
],
[
40652,
2010,
15,
50,
],
[
40179,
2010,
1.5,
1,
],
[
40178,
2010,
1.5,
0,
],
[
40148,
2010,
0,
1.5,
],
[
40179,
2010,
1,
1.5,
],
[
41075,
2012,
6,
15,
],
[
41060,
2012,
6,
null,
],
[
40892,
2012,
null,
15,
],
[
167,
null,
6,
15,
],
[
3819,
10,
6,
15,
],
[
3622,
10,
null,
null,
],
[
274,
null,
10,
null,
],
[
'#NUM!',
null,
null,
10,
],
[
'#NUM!',
-20,
null,
null,
],
[
'#NUM!',
-20,
6,
15,
],
// Excel Maximum Date
[
2958465,
9999,
12,
31,
],
// Exceeded Excel Maximum Date
[
'#NUM!',
10000,
1,
1,
],
[
39670,
2008,
8,
10,
],
[
39813,
2008,
12,
31,
],
[
39692,
2008,
8,
32,
],
[
39844,
2008,
13,
31,
],
[
39813,
2009,
1,
0,
],
[
39812,
2009,
1,
-1,
],
[
39782,
2009,
0,
0,
],
[
39781,
2009,
0,
-1,
],
[
39752,
2009,
-1,
0,
],
[
39751,
2009,
-1,
-1,
],
[
40146,
2010,
0,
-1,
],
[
40329,
2010,
5,
31,
],
// MS Excel will fail with a #VALUE return, but PhpSpreadsheet can parse this date
[
40199,
2010,
1,
'21st',
],
// MS Excel will fail with a #VALUE return, but PhpSpreadsheet can parse this date
[
40258,
2010,
'March',
'21st',
],
// MS Excel will fail with a #VALUE return, but PhpSpreadsheet can parse this date
[
40258,
2010,
'March',
21,
],
[
'#VALUE!',
'ABC',
1,
21,
],
[
'#VALUE!',
2010,
'DEF',
21,
],
[
'#VALUE!',
2010,
3,
'GHI',
],
];

View File

@ -0,0 +1,616 @@
<?php
return [
[
365,
'2016-01-01',
'2016-12-31',
'YD',
],
[
364,
'2015-01-01',
'2015-12-31',
'YD',
],
[
364,
'2015-01-01',
'2016-12-31',
'YD',
],
[
365,
'2016-01-01',
'2017-12-31',
'YD',
],
[
364,
'2017-01-01',
'2018-12-31',
'YD',
],
[
'#VALUE!',
'ABC',
'2007-1-10',
'Y',
],
[
'#VALUE!',
'2007-1-1',
'DEF',
'Y',
],
[
'#VALUE!',
'2007-1-1',
'2007-1-10',
'XYZ',
],
[
'#NUM!',
'2007-1-10',
'2007-1-1',
'Y',
],
[
0,
'2007-12-31',
'2008-1-10',
'Y',
],
[
0,
'2007-1-1',
'2007-1-10',
'Y',
],
[
0,
'2007-1-1',
'2007-1-10',
'M',
],
[
9,
'2007-1-1',
'2007-1-10',
'D',
],
[
0,
'2007-1-1',
'2007-1-10',
'YM',
],
[
9,
'2007-1-1',
'2007-1-10',
'YD',
],
[
9,
'2007-1-1',
'2007-1-10',
'MD',
],
[
0,
'2007-1-1',
'2007-12-31',
'Y',
],
[
11,
'2007-1-1',
'2007-12-31',
'M',
],
[
364,
'2007-1-1',
'2007-12-31',
'D',
],
[
11,
'2007-1-1',
'2007-12-31',
'YM',
],
[
364,
'2007-1-1',
'2007-12-31',
'YD',
],
[
30,
'2007-1-1',
'2007-12-31',
'MD',
],
[
1,
'2007-1-1',
'2008-7-1',
'Y',
],
[
18,
'2007-1-1',
'2008-7-1',
'M',
],
[
547,
'2007-1-1',
'2008-7-1',
'D',
],
[
6,
'2007-1-1',
'2008-7-1',
'YM',
],
[
181,
'2007-1-1',
'2008-7-1',
'YD',
],
[
0,
'2007-1-1',
'2008-7-1',
'MD',
],
[
0,
'2007-1-1',
'2007-1-31',
'Y',
],
[
0,
'2007-1-1',
'2007-1-31',
'M',
],
[
30,
'2007-1-1',
'2007-1-31',
'D',
],
[
0,
'2007-1-1',
'2007-1-31',
'YM',
],
[
30,
'2007-1-1',
'2007-1-31',
'YD',
],
[
30,
'2007-1-1',
'2007-1-31',
'MD',
],
[
0,
'2007-1-1',
'2007-2-1',
'Y',
],
[
1,
'2007-1-1',
'2007-2-1',
'M',
],
[
31,
'2007-1-1',
'2007-2-1',
'D',
],
[
1,
'2007-1-1',
'2007-2-1',
'YM',
],
[
31,
'2007-1-1',
'2007-2-1',
'YD',
],
[
0,
'2007-1-1',
'2007-2-1',
'MD',
],
[
0,
'2007-1-1',
'2007-2-28',
'Y',
],
[
1,
'2007-1-1',
'2007-2-28',
'M',
],
[
58,
'2007-1-1',
'2007-2-28',
'D',
],
[
1,
'2007-1-1',
'2007-2-28',
'YM',
],
[
58,
'2007-1-1',
'2007-2-28',
'YD',
],
[
27,
'2007-1-1',
'2007-2-28',
'MD',
],
[
0,
'2007-1-31',
'2007-2-1',
'Y',
],
[
0,
'2007-1-31',
'2007-2-1',
'M',
],
[
1,
'2007-1-31',
'2007-2-1',
'D',
],
[
0,
'2007-1-31',
'2007-2-1',
'YM',
],
[
1,
'2007-1-31',
'2007-2-1',
'YD',
],
[
1,
'2007-1-31',
'2007-2-1',
'MD',
],
[
0,
'2007-1-31',
'2007-3-1',
'Y',
],
[
1,
'2007-1-31',
'2007-3-1',
'M',
],
[
29,
'2007-1-31',
'2007-3-1',
'D',
],
[
1,
'2007-1-31',
'2007-3-1',
'YM',
],
[
29,
'2007-1-31',
'2007-3-1',
'YD',
],
[
-2,
'2007-1-31',
'2007-3-1',
'MD',
],
[
0,
'2007-1-31',
'2007-3-31',
'Y',
],
[
2,
'2007-1-31',
'2007-3-31',
'M',
],
[
59,
'2007-1-31',
'2007-3-31',
'D',
],
[
2,
'2007-1-31',
'2007-3-31',
'YM',
],
[
59,
'2007-1-31',
'2007-3-31',
'YD',
],
[
0,
'2007-1-31',
'2007-3-31',
'MD',
],
[
0,
'2008-1-1',
'2008-9-1',
'Y',
],
[
8,
'2008-1-1',
'2008-9-1',
'M',
],
[
244,
'2008-1-1',
'2008-9-1',
'D',
],
[
8,
'2008-1-1',
'2008-9-1',
'YM',
],
[
244,
'2008-1-1',
'2008-9-1',
'YD',
],
[
0,
'2008-1-1',
'2008-9-1',
'MD',
],
[
1,
'2007-2-1',
'2008-4-1',
'Y',
],
[
14,
'2007-2-1',
'2008-4-1',
'M',
],
[
425,
'2007-2-1',
'2008-4-1',
'D',
],
[
2,
'2007-2-1',
'2008-4-1',
'YM',
],
[
59,
'2007-2-1',
'2008-4-1',
'YD',
],
[
0,
'2007-2-1',
'2008-4-1',
'MD',
],
[
47,
'1960-12-19',
'2008-6-28',
'Y',
],
[
570,
'1960-12-19',
'2008-6-28',
'M',
],
[
17358,
'1960-12-19',
'2008-6-28',
'D',
],
[
6,
'1960-12-19',
'2008-6-28',
'YM',
],
[
191,
'1960-12-19',
'2008-6-28',
'YD',
],
[
9,
'1960-12-19',
'2008-6-28',
'MD',
],
[
25,
'1982-12-7',
'2008-6-28',
'Y',
],
[
306,
'1982-12-7',
'2008-6-28',
'M',
],
[
9335,
'1982-12-7',
'2008-6-28',
'D',
],
[
6,
'1982-12-7',
'2008-6-28',
'YM',
],
[
203,
'1982-12-7',
'2008-6-28',
'YD',
],
[
21,
'1982-12-7',
'2008-6-28',
'MD',
],
[
2,
'2007-12-25',
'2010-3-17',
'Y',
],
[
26,
'2007-12-25',
'2010-3-17',
'M',
],
[
813,
'2007-12-25',
'2010-3-17',
'D',
],
[
2,
'2007-12-25',
'2010-3-17',
'YM',
],
[
82,
'2007-12-25',
'2010-3-17',
'YD',
],
[
20,
'2007-12-25',
'2010-3-17',
'MD',
],
[
51,
'19-12-1960',
'26-01-2012',
'Y',
],
[
613,
'19-12-1960',
'26-01-2012',
'M',
],
[
18665,
'19-12-1960',
'26-01-2012',
'D',
],
[
1,
'19-12-1960',
'26-01-2012',
'YM',
],
[
38,
'19-12-1960',
'26-01-2012',
'YD',
],
[
7,
'19-12-1960',
'26-01-2012',
'MD',
],
[
50,
'19-12-1960',
'12-12-2012',
'Y',
],
[
0,
'1982-12-07',
'1982-12-7',
'D',
],
];

View File

@ -0,0 +1,297 @@
<?php
// Date String, Result
return [
[
'#VALUE!',
'25-Dec-1899',
],
[
'#VALUE!',
'31-Dec-1899',
],
[
1,
'1-Jan-1900',
],
[
59,
'1900/2/28',
],
[
'#VALUE!',
'29-02-1900',
],
// MS Excel will fail with a #VALUE return, but PhpSpreadsheet can parse this date
[
'#VALUE!',
'29th February 1900',
],
[
61,
'1900/3/1',
],
[
713,
'13-12-1901',
],
[
714,
'14-12-1901',
],
[
1461,
'1903/12/31',
],
[
1462,
'1-Jan-1904',
],
// MS Excel will fail with a #VALUE return, but PhpSpreadsheet can parse this date
[
1463,
'2nd-Jan-1904',
],
[
22269,
'19-12-1960',
],
// MS Excel will fail with a #VALUE return, but PhpSpreadsheet can parse this date
[
25569,
'1st January 1970',
],
[
30292,
'7-Dec-1982',
],
[
39448,
'1-1-2008',
],
[
50424,
'2038-01-19',
],
[
39601,
'2-6-2008',
],
// MS Excel will fail with a #VALUE return, but PhpSpreadsheet can parse this date
[
39807,
'December 25th 2008',
],
[
39448,
'1 Jan-2008',
],
// MS Excel success or failure dependent on country settings
[
39813,
'12-31-2008',
],
// PhpSpreadsheet tries to handle both US and UK formats, irrespective of country settings
[
39813,
'31-12-2008',
],
// MS Excel success or failure dependent on country settings
[
39682,
'8/22/2008',
],
// PhpSpreadsheet tries to handle both US and UK formats, irrespective of country settings
[
39682,
'22/8/2008',
],
[
39682,
'22/8/08',
],
[
39682,
'22-AUG-2008',
],
[
39501,
'2008/02/23',
],
[
39635,
'6-7-2008',
],
// MS Excel success or failure dependent on country settings
[
39141,
'28-2-2007',
],
// PhpSpreadsheet tries to handle both US and UK formats, irrespective of country settings
[
39141,
'2-28-2007',
],
// Should fail because it's an invalid date, but PhpSpreadsheet currently adjusts to 1-3-2007 - FIX NEEDED
[
'#VALUE!',
'29-2-2007',
],
[
36161,
'1/1/1999',
],
[
19925,
'1954-07-20',
],
[
36029,
'22 August 98',
],
// MS Excel will fail with a #VALUE return, but PhpSpreadsheet can parse this date
[
39142,
'1st March 2007',
],
[
'#VALUE!',
'The 1st day of March 2007',
],
// 01/01 of the current year
[
43101,
'1 Jan',
],
// 31/12 of the current year
[
43465,
'31/12',
],
// Excel reads as 1st December 1931, not 31st December in current year
[
11658,
'12/31',
],
// 05/07 of the current year
[
43286,
'5-JUL',
],
// 05/07 of the current year
[
43286,
'5 Jul',
],
[
39783,
'12/2008',
],
[
11963,
'10/32',
],
[
'#VALUE!',
11,
],
[
'#VALUE!',
true,
],
[
'#VALUE!',
false,
],
[
'#VALUE!',
1,
],
[
'#VALUE!',
12345,
],
[
'#VALUE!',
12,
],
[
40221,
'12-Feb-2010',
],
// MS Excel will fail with a #VALUE return, but PhpSpreadsheet can parse this date
[
40221,
'Feb-12-2010',
],
// MS Excel will fail with a #VALUE return, but PhpSpreadsheet can parse this date
[
40221,
'February-12-2010',
],
// MS Excel will fail with a #VALUE return, but PhpSpreadsheet can parse this date
[
40221,
'February 12 2010',
],
[
40227,
'18 Feb 2010',
],
// MS Excel will fail with a #VALUE return, but PhpSpreadsheet can parse this date
[
40254,
'17th 3rd 2010',
],
// MS Excel will fail with a #VALUE return, but PhpSpreadsheet can parse this date
[
40227,
'Feb 18th 2010',
],
// MS Excel will fail with a #VALUE return, but PhpSpreadsheet can parse this date
[
40210,
'1st Feb 2010',
],
// MS Excel will fail with a #VALUE return, but PhpSpreadsheet can parse this date
[
40210,
'1st-Feb-2010',
],
[
'#VALUE!',
'1me Fev 2010',
],
// MS Excel will fail with a #VALUE return, but PhpSpreadsheet can parse this date
[
40210,
'February 1st 2010',
],
// MS Excel will fail with a #VALUE return, but PhpSpreadsheet can parse this date
[
40211,
'2nd Feb 2010',
],
[
'#VALUE!',
'Second Feb 2010',
],
[
'#VALUE!',
'First August 2010',
],
// MS Excel will fail with a #VALUE return, but PhpSpreadsheet can parse this date
[
40391,
'1st August 2010',
],
[
0,
'15:30:25',
],
[
'#VALUE!',
'ABCDEFGHIJKMNOPQRSTUVWXYZ',
],
];

View File

@ -0,0 +1,56 @@
<?php
// Date Value, Result
return [
[
19, // Result for Excel
19, // Result for OpenOffice
22269,
],
[
1, // Result for Excel
1, // Result for OpenOffice
30348,
],
[
10, // Result for Excel
10, // Result for OpenOffice
30843,
],
[
11, // Result for Excel
11, // Result for OpenOffice
'11-Nov-1918',
],
[
28, // Result for Excel
28, // Result for OpenOffice
'28-Feb-1904',
],
[
'#VALUE!', // Result for Excel
'#VALUE!', // Result for OpenOffice
'Invalid',
],
[
'#NUM!', // Result for Excel
29, // Result for OpenOffice
-1,
],
[
1, // Result for Excel
31, // Result for OpenOffice
1,
],
[
0, // Result for Excel
30, // Result for OpenOffice
0.5,
],
[
0, // Result for Excel
30, // Result for OpenOffice
0,
],
];

View File

@ -0,0 +1,208 @@
<?php
return [
[
'#VALUE!',
'ABC',
'2007-1-10',
false,
],
[
'#VALUE!',
'2007-1-1',
'DEF',
true,
],
[
'#VALUE!',
'2007-1-1',
'2007-1-10',
'XYZ',
],
[
'#VALUE!',
'2007-1-10',
'2007-1-1',
'Y',
],
[
9,
'2007-1-1',
'2007-1-10',
false,
],
[
9,
'2007-1-1',
'2007-1-10',
true,
],
[
360,
'2007-1-1',
'2007-12-31',
false,
],
[
359,
'2007-1-1',
'2007-12-31',
true,
],
[
540,
'2007-1-1',
'2008-7-1',
false,
],
[
540,
'2007-1-1',
'2008-7-1',
true,
],
[
30,
'2007-1-1',
'2007-1-31',
false,
],
[
29,
'2007-1-1',
'2007-1-31',
true,
],
[
30,
'2007-1-1',
'2007-2-1',
false,
],
[
30,
'2007-1-1',
'2007-2-1',
true,
],
[
57,
'2007-1-1',
'2007-2-28',
false,
],
[
57,
'2007-1-1',
'2007-2-28',
true,
],
[
1,
'2007-1-31',
'2007-2-1',
false,
],
[
1,
'2007-1-31',
'2007-2-1',
true,
],
[
31,
'2007-1-31',
'2007-3-1',
false,
],
[
31,
'2007-1-31',
'2007-3-1',
true,
],
[
60,
'2007-1-31',
'2007-3-31',
false,
],
[
60,
'2007-1-31',
'2007-3-31',
true,
],
[
240,
'2008-1-1',
'2008-9-1',
false,
],
[
240,
'2008-1-1',
'2008-9-1',
true,
],
[
420,
'2007-2-1',
'2008-4-1',
false,
],
[
420,
'2007-2-1',
'2008-4-1',
true,
],
[
17109,
'1960-12-19',
'2008-6-28',
false,
],
[
17109,
'1960-12-19',
'2008-6-28',
true,
],
[
9201,
'1982-12-7',
'2008-6-28',
false,
],
[
9201,
'1982-12-7',
'2008-6-28',
true,
],
[
33,
'2000-2-28',
'2000-3-31',
false,
],
[
32,
'2000-2-28',
'2000-3-31',
true,
],
[
30,
'2000-2-29',
'2000-3-31',
false,
],
[
31,
'2000-2-29',
'2000-3-31',
true,
],
];

View File

@ -0,0 +1,79 @@
<?php
return [
[
39493,
'15-Jan-2008',
1,
],
[
39431,
'15-Jan-2008',
-1,
],
[
39522,
'15-Jan-2008',
2,
],
[
39202,
'31-Mar-2007',
1,
],
[
39141,
'31-Mar-2007',
-1,
],
[
39507,
'31-Mar-2008',
-1,
],
[
39416,
'31-Mar-2008',
-4,
],
[
39141,
'29-Feb-2008',
-12,
],
[
39248,
'15-Mar-2007',
3,
],
[
22269,
22269.0,
0,
],
[
22331,
22269.0,
2,
],
[
25618,
22269.0,
110,
],
[
18920,
22269.0,
-110,
],
[
'#VALUE!',
'15-Mar-2007',
'ABC',
],
[
'#VALUE!',
'Invalid',
12,
],
];

View File

@ -0,0 +1,89 @@
<?php
return [
[
39507,
'15-Jan-2008',
1,
],
[
39447,
'15-Jan-2008',
-1,
],
[
39538,
'15-Jan-2008',
2,
],
[
39202,
'31-Mar-2007',
1,
],
[
39141,
'31-Mar-2007',
-1,
],
[
39507,
'31-Mar-2008',
-1,
],
[
39416,
'31-Mar-2008',
-4,
],
[
39141,
'29-Feb-2008',
-12,
],
[
39263,
'15-Mar-2007',
3,
],
[
22281,
22269.0,
0,
],
[
22340,
22269.0,
2,
],
[
25627,
22269.0,
110,
],
[
18932,
22269.0,
-110,
],
[
22371,
22269.0,
3,
],
[
22371,
22269.0,
3.75,
],
[
'#VALUE!',
'15-Mar-2007',
'ABC',
],
[
'#VALUE!',
'Invalid',
12,
],
];

View File

@ -0,0 +1,52 @@
<?php
return [
[
6,
0.25,
],
[
18,
0.75,
],
[
12,
0.5,
],
[
14,
0.59999999999999998,
],
[
11,
'11-Nov-1918 11:11',
],
[
23,
'11:59 PM',
],
[
23,
'23:59:59',
],
[
0,
3600,
],
[
'#NUM!',
-3600,
],
[
0,
7200,
],
[
0,
65535,
],
[
'#VALUE!',
'1 O\'Clock',
],
];

View File

@ -0,0 +1,36 @@
<?php
return [
[
51,
'21-Dec-2000',
],
[
52,
'2000-01-01',
],
[
1,
'2000-01-03',
],
[
52,
'1995-01-01',
],
[
1,
'1995-01-07',
],
[
2,
'1995-01-10',
],
[
1,
'2018-01-01',
],
[
'#VALUE!',
'1800-01-01',
],
];

View File

@ -0,0 +1,52 @@
<?php
return [
[
48,
0.20000000000000001,
],
[
36,
0.40000000000000002,
],
[
24,
0.59999999999999998,
],
[
12,
0.80000000000000004,
],
[
15,
'11-Nov-1918 11:15',
],
[
59,
'11:59 PM',
],
[
59,
'23:59:59',
],
[
0,
3600,
],
[
'#NUM!',
-3600,
],
[
0,
12500,
],
[
0,
65535,
],
[
'#VALUE!',
'Half past 1 O\'Clock',
],
];

View File

@ -0,0 +1,52 @@
<?php
return [
[
1,
null,
],
[
1,
0,
],
[
12,
22269.0,
],
[
2,
30348.0,
],
[
6,
30843.0,
],
[
11,
'11-Nov-1918',
],
[
2,
'28-Feb-1904',
],
[
7,
'01 Jul 2003',
],
[
4,
38094,
],
[
12,
'Dec 2003',
],
[
'#NUM!',
-10,
],
[
'#VALUE!',
'ABCD',
],
];

View File

@ -0,0 +1,103 @@
<?php
return [
[
8,
'1-Jan-2007',
'10-Jan-2007',
],
[
3,
'18-Jun-2008',
'20-Jun-2008',
],
[
5,
'16-Jun-2008',
'20-Jun-2008',
],
[
5,
'14-Jun-2008',
'20-Jun-2008',
],
[
1,
'20-Jun-2008',
'20-Jun-2008',
],
[
0,
'21-Jun-2008',
'21-Jun-2008',
],
[
0,
'20-Jun-2008',
'20-Jun-2008',
'20-Jun-2008',
],
[
0,
'20-Jun-2008',
'20-Jun-2008',
'20-Jun-2008',
'20-Jun-2008',
],
[
8,
'14-Jun-2008',
'25-Jun-2008',
],
[
17,
'19-Dec-1960',
'10-Jan-1961',
],
[
-17,
'10-Jan-1961',
'19-Dec-1960',
],
[
16,
'19-Dec-1960',
'10-Jan-1961',
'25-Dec-1960',
'26-Dec-1960',
'01-Jan-1961',
],
[
-16,
'10-Jan-1961',
'19-Dec-1960',
'25-Dec-1960',
'26-Dec-1960',
'01-Jan-1961',
],
[
65,
'1-Jan-2007',
'31-Mar-2007',
],
[
23,
'1-Jan-2007',
'31-Jan-2007',
],
[
24,
'1-Jan-2007',
'1-Feb-2007',
],
[
43,
'1-Jan-2007',
'28-Feb-2007',
],
[
2,
'31-Jan-2007',
'1-Feb-2007',
],
];

View File

@ -0,0 +1,52 @@
<?php
return [
[
57,
0.2339930556,
],
[
13,
0.4202893519,
],
[
22,
0.60789351849999995,
],
[
11,
0.80221064809999998,
],
[
35,
'11-Nov-1918 11:15:35',
],
[
0,
'11:59 PM',
],
[
59,
'23:59:59',
],
[
0,
3600,
],
[
'#NUM!',
-3601,
],
[
0,
12500,
],
[
0,
65535,
],
[
'#VALUE!',
'Half past 1 O\'Clock',
],
];

View File

@ -0,0 +1,136 @@
<?php
return [
[
0.75776620370400005,
18,
11,
11,
],
[
0.26047453703700002,
6,
15,
5,
],
[
0.52094907407400004,
12,
30,
10,
],
[
0.78153935185199996,
18,
45,
25,
],
[
0.64780092592600003,
15,
32,
50,
],
[
0.50070601851899998,
12,
null,
61,
],
[
0.45832175925899998,
11,
null,
-1,
],
[
0.41589120370400001,
10,
null,
-67,
],
[
0.58478009259300001,
13,
62,
5,
],
[
0.31964120370400001,
9,
-80,
17,
],
[
0.22083333333300001,
8,
-162,
null,
],
[
'#NUM!',
2,
-120,
-1,
],
[
0.0,
2,
-120,
null,
],
[
1.1574074E-5,
2,
-120,
1,
],
[
0.50071759259299997,
36,
1,
2,
],
[
'#NUM!',
-1,
2,
3,
],
[
0.001030092593,
-1,
61,
29,
],
[
0.0,
-1,
61,
-60,
],
[
'#VALUE!',
'A',
null,
null,
],
[
0.49930555555599998,
11,
59,
0,
],
[
0.5,
12,
0,
0,
],
[
0.70011574074100003,
16,
48,
10,
],
];

View File

@ -0,0 +1,56 @@
<?php
return [
[
0,
'12:00:00 am',
],
[
0.00071759299999999999,
'12:01:02 am',
],
[
0.50208333299999997,
'12:03 pm',
],
[
0.50498842600000005,
'12:7:11 pm',
],
[
0.176145833,
'4:13:39',
],
[
0.76408564800000001,
'6:20:17 pm',
],
[
0.773229167,
'18:33:27',
],
[
0.14392361100000001,
'31/12/2007 03:27:15',
],
[
0.90619212999999998,
'9:44:55 pm',
],
[
'#VALUE!',
12,
],
[
0.54236111099999995,
'13:01',
],
[
0.40625,
'33:45',
],
[
'#VALUE!',
'13:01PM',
],
];

View File

@ -0,0 +1,130 @@
<?php
return [
[
5,
'24-Oct-1968',
],
[
4,
'24-Oct-1968',
2,
],
[
3,
'24-Oct-1968',
3,
],
[
4,
'2000-06-14',
],
[
3,
'2000-06-14',
2,
],
[
2,
'2000-06-14',
3,
],
[
4,
'1996-07-24',
],
[
3,
'1996-07-24',
2,
],
[
2,
'1996-07-24',
3,
],
[
7,
'1996-07-27',
],
[
6,
'1996-07-27',
2,
],
[
5,
'1996-07-27',
3,
],
[
1,
'1977-7-31',
],
[
7,
'1977-7-31',
2,
],
[
6,
'1977-7-31',
3,
],
[
2,
'1977-8-1',
],
[
1,
'1977-8-1',
2,
],
[
0,
'1977-8-1',
3,
],
[
7,
'1900-2-5',
2,
],
[
4,
'1900-2-1',
],
[
6,
38093,
],
[
5,
38093,
2,
],
[
4,
38093,
3,
],
[
'#VALUE!',
'3/7/1977',
'A',
],
[
'#NUM!',
'3/7/1977',
0,
],
[
'#VALUE!',
'Invalid',
1,
],
[
'#NUM!',
-1,
],
];

View File

@ -0,0 +1,77 @@
<?php
return [
[
52,
'21-Dec-2000',
1,
],
[
1,
'2000-01-01',
1,
],
[
2,
'2000-01-02',
1,
],
[
1,
'2000-01-01',
2,
],
[
2,
'2000-01-03',
2,
],
[
1,
'1995-01-01',
1,
],
[
1,
'1995-01-07',
1,
],
[
2,
'1995-01-08',
1,
],
[
1,
'1995-01-01',
2,
],
[
2,
'1995-01-02',
2,
],
[
28,
'3/7/1977',
],
[
'#VALUE!',
'3/7/1977',
'A',
],
[
'#NUM!',
'3/7/1977',
0,
],
[
'#VALUE!',
'Invalid',
1,
],
[
'#NUM!',
-1,
],
];

View File

@ -0,0 +1,92 @@
<?php
return [
[
'#VALUE!',
'1-Jan-2007',
'ABC',
],
[
39094,
'1-Jan-2007',
9,
],
[
39619,
'18-Jun-2008',
2,
],
[
39619,
'16-Jun-2008',
4,
],
[
39622,
'14-Jun-2008',
6,
],
[
39629,
'14-Jun-2008',
11,
],
[
39611,
'14-Jun-2008',
-2,
],
[
39605,
'14-Jun-2008',
-6,
],
[
39815,
'19-Dec-2008',
10,
],
[
39820,
'19-Dec-2008',
10,
'25-Dec-2008',
'26-Dec-2008',
'01-Jan-2009',
],
[
39820,
'19-Dec-2008',
10,
[
[
'25-Dec-2008',
'26-Dec-2008',
'01-Jan-2009',
],
],
],
[
39801,
39820,
-10,
[
[
'25-Dec-2008',
'26-Dec-2008',
'01-Jan-2009',
],
],
],
[
41010,
'5-Apr-2012',
3,
[
[
'6-Apr-2012',
'9-Apr-2012',
],
],
],
];

View File

@ -0,0 +1,48 @@
<?php
return [
[
1900,
null,
],
[
1900,
1,
],
[
1991,
33333.330000000002,
],
[
1960,
22269.0,
],
[
1983,
30348.0,
],
[
1984,
30843.0,
],
[
2525,
'01 Jan 2525',
],
[
1918,
'11-Nov-1918',
],
[
1904,
'28-Feb-1904',
],
[
'#NUM!',
-10,
],
[
'#VALUE!',
'ABCD',
],
];

View File

@ -0,0 +1,388 @@
<?php
return [
[
0.025,
'2007-1-1',
'2007-1-10',
0,
],
[
0.024657534246580001,
'2007-1-1',
'2007-1-10',
1,
],
[
0.025,
'2007-1-1',
'2007-1-10',
2,
],
[
0.024657534246580001,
'2007-1-1',
'2007-1-10',
3,
],
[
0.025,
'2007-1-1',
'2007-1-10',
4,
],
[
1.0,
'2007-1-1',
'2007-12-31',
0,
],
[
0.99726027397259998,
'2007-1-1',
'2007-12-31',
1,
],
[
1.01111111111111,
'2007-1-1',
'2007-12-31',
2,
],
[
0.99726027397259998,
'2007-1-1',
'2007-12-31',
3,
],
[
0.99722222222222001,
'2007-1-1',
'2007-12-31',
4,
],
[
1.5,
'2007-1-1',
'2008-7-1',
0,
],
[
1.49658002735978,
'2007-1-1',
'2008-7-1',
1,
],
[
1.5194444444444399,
'2007-1-1',
'2008-7-1',
2,
],
[
1.4986301369863,
'2007-1-1',
'2008-7-1',
3,
],
[
1.5,
'2007-1-1',
'2008-7-1',
4,
],
[
0.083333333333329998,
'2007-1-1',
'2007-1-31',
0,
],
[
0.082191780821919996,
'2007-1-1',
'2007-1-31',
1,
],
[
0.083333333333329998,
'2007-1-1',
'2007-1-31',
2,
],
[
0.082191780821919996,
'2007-1-1',
'2007-1-31',
3,
],
[
0.080555555555560002,
'2007-1-1',
'2007-1-31',
4,
],
[
0.083333333333329998,
'2007-1-1',
'2007-2-1',
0,
],
[
0.084931506849319993,
'2007-1-1',
'2007-2-1',
1,
],
[
0.08611111111111,
'2007-1-1',
'2007-2-1',
2,
],
[
0.084931506849319993,
'2007-1-1',
'2007-2-1',
3,
],
[
0.083333333333329998,
'2007-1-1',
'2007-2-1',
4,
],
[
0.15833333333333,
'2007-1-1',
'2007-2-28',
0,
],
[
0.15890410958904,
'2007-1-1',
'2007-2-28',
1,
],
[
0.16111111111111001,
'2007-1-1',
'2007-2-28',
2,
],
[
0.15890410958904,
'2007-1-1',
'2007-2-28',
3,
],
[
0.15833333333333,
'2007-1-1',
'2007-2-28',
4,
],
[
0.0027777777777800001,
'2007-1-31',
'2007-2-1',
0,
],
[
0.0027397260273999999,
'2007-1-31',
'2007-2-1',
1,
],
[
0.0027777777777800001,
'2007-1-31',
'2007-2-1',
2,
],
[
0.0027397260273999999,
'2007-1-31',
'2007-2-1',
3,
],
[
0.0027777777777800001,
'2007-1-31',
'2007-2-1',
4,
],
[
0.08611111111111,
'2007-1-31',
'2007-3-1',
0,
],
[
0.07945205479452,
'2007-1-31',
'2007-3-1',
1,
],
[
0.080555555555560002,
'2007-1-31',
'2007-3-1',
2,
],
[
0.07945205479452,
'2007-1-31',
'2007-3-1',
3,
],
[
0.08611111111111,
'2007-1-31',
'2007-3-1',
4,
],
[
0.16666666666666999,
'2007-1-31',
'2007-3-31',
0,
],
[
0.16164383561644,
'2007-1-31',
'2007-3-31',
1,
],
[
0.16388888888889,
'2007-1-31',
'2007-3-31',
2,
],
[
0.16164383561644,
'2007-1-31',
'2007-3-31',
3,
],
[
0.16666666666666999,
'2007-1-31',
'2007-3-31',
4,
],
[
0.66666666666666996,
'2008-1-1',
'2008-9-1',
0,
],
[
0.66666666666666996,
'2008-1-1',
'2008-9-1',
1,
],
[
0.67777777777778003,
'2008-1-1',
'2008-9-1',
2,
],
[
0.66849315068492998,
'2008-1-1',
'2008-9-1',
3,
],
[
0.66666666666666996,
'2008-1-1',
'2008-9-1',
4,
],
[
1.1666666666666701,
'2007-2-1',
'2008-4-1',
0,
],
[
1.16279069767442,
'2007-2-1',
'2008-4-1',
1,
],
[
1.18055555555556,
'2007-2-1',
'2008-4-1',
2,
],
[
1.16438356164384,
'2007-2-1',
'2008-4-1',
3,
],
[
1.1666666666666701,
'2007-2-1',
'2008-4-1',
4,
],
[
47.524999999999999,
'1960-12-19',
'2008-6-28',
0,
],
[
48.216666666666697,
'1960-12-19',
'2008-6-28',
2,
],
[
47.556164383561601,
'1960-12-19',
'2008-6-28',
3,
],
[
47.524999999999999,
'1960-12-19',
'2008-6-28',
4,
],
[
25.558333333333302,
'1982-12-7',
'2008-6-28',
0,
],
[
25.5571892111134,
'1982-12-7',
'2008-6-28',
1,
],
[
25.9305555555556,
'1982-12-7',
'2008-6-28',
2,
],
[
25.575342465753401,
'1982-12-7',
'2008-6-28',
3,
],
[
25.558333333333302,
'1982-12-7',
'2008-6-28',
4,
],
];