PhpSpreadsheet/tests/data/Calculation/DateTime/WEEKNUM.php

78 lines
866 B
PHP
Raw Normal View History

<?php
return [
[
'21-Dec-2000',
1,
52,
],
2016-10-01 13:27:41 +00:00
[
'2000-01-01',
1,
1,
],
[
'2000-01-02',
1,
2,
],
[
'2000-01-01',
2,
1,
],
[
'2000-01-03',
2,
2,
],
[
'1995-01-01',
1,
1,
],
2016-10-01 13:27:41 +00:00
[
'1995-01-07',
1,
1,
],
[
'1995-01-08',
1,
2,
],
[
'1995-01-01',
2,
1,
],
[
'1995-01-02',
2,
2,
],
[
'3/7/1977',
2016-10-01 13:27:41 +00:00
28,
],
[
'3/7/1977',
'A',
'#VALUE!',
],
[
'3/7/1977',
0,
'#NUM!',
],
[
'Invalid',
1,
'#VALUE!',
],
[
-1,
'#NUM!',
],
];