PhpSpreadsheet/tests/data/Calculation/DateTime/DAYS.php
Mark Baker 342ffb629b
Refactoring of math trig tests (#1102)
* Merge branch 'master' of C:\Projects\PHPOffice\PHPSpreadsheet\develop with conflicts.

* First pass at moving MathTrig tests into individual test files

* Appeasement to the great goddess PHPCS

* Appeasement to the great goddess PHPCS

* Minor scrutinizer issue resolved

* More refactoring of tests into individual test files fr each math/trig function

* More work on the math/trig test refactoring, plus a bit of tidyup of date/time tests as well

* Fix test

* Fix docblock in test

* Finish refactoring Math/Trig tests into separate files

* Fix SubTotal Test

* Import additional classes for SubTotal test
2019-07-23 00:50:30 +02:00

81 lines
1.1 KiB
PHP

<?php
return [
[
'#VALUE!',
'2007-1-10', 'ABC',
],
[
'#VALUE!',
'DEF', '2007-1-1',
],
[
9,
'2007-1-10', '2007-1-1',
],
[
364,
'2007-12-31', '2007-1-1',
],
[
547,
'2008-7-1', '2007-1-1',
],
[
30,
'2007-1-31', '2007-1-1',
],
[
31,
'2007-2-1', '2007-1-1',
],
[
58,
'2007-2-28', '2007-1-1',
],
[
1,
'2007-2-1', '2007-1-31',
],
[
29,
'2007-3-1', '2007-1-31',
],
[
59,
'2007-3-31', '2007-1-31',
],
[
244,
'2008-9-1', '2008-1-1',
],
[
425,
'2008-4-1', '2007-2-1',
],
[
17358,
'2008-6-28', '1960-12-19',
],
[
9335,
'2008-6-28', '1982-12-7',
],
[
32,
'2000-3-31', '2000-2-28',
],
[
31,
'2000-3-31', '2000-2-29',
],
[
31,
new \DateTime('2000-3-31'), new \DateTimeImmutable('2000-2-29'),
],
[
31,
36616, 36585,
],
];