mirror of
https://github.com/PHPOffice/PhpSpreadsheet.git
synced 2026-08-22 23:14:16 +00:00
d5dc58d20e
* Split Information functions into a dedicated class and namespace and categorise as Value or Error * Refactor all error functions into the new ExcelError class
16 lines
635 B
PHP
16 lines
635 B
PHP
<?php
|
|
|
|
use PhpOffice\PhpSpreadsheet\Calculation\Financial\Constants as FinancialConstants;
|
|
use PhpOffice\PhpSpreadsheet\Calculation\Information\ExcelError;
|
|
|
|
return [
|
|
[360, 2020, FinancialConstants::BASIS_DAYS_PER_YEAR_NASD],
|
|
[366, 2020, FinancialConstants::BASIS_DAYS_PER_YEAR_ACTUAL],
|
|
[365, 2021, FinancialConstants::BASIS_DAYS_PER_YEAR_ACTUAL],
|
|
[360, 2020, FinancialConstants::BASIS_DAYS_PER_YEAR_360],
|
|
[365, 2020, FinancialConstants::BASIS_DAYS_PER_YEAR_365],
|
|
[360, 2020, FinancialConstants::BASIS_DAYS_PER_YEAR_360_EUROPEAN],
|
|
[ExcelError::NAN(), 2020, 'Invalid'],
|
|
[ExcelError::NAN(), 2020, 999],
|
|
];
|