private static function PHPExcel_Calculation_Financial::_firstDayOfMonth in Loft Data Grids 6.2
Same name and namespace in other branches
- 7.2 vendor/phpoffice/phpexcel/Classes/PHPExcel/Calculation/Financial.php \PHPExcel_Calculation_Financial::_firstDayOfMonth()
* _firstDayOfMonth * * Returns a boolean TRUE/FALSE indicating if this date is the first date of the month * *
Parameters
DateTime $testDate The date for testing: * @return boolean
File
- vendor/
phpoffice/ phpexcel/ Classes/ PHPExcel/ Calculation/ Financial.php, line 77
Class
- PHPExcel_Calculation_Financial
- PHPExcel_Calculation_Financial
Code
private static function _firstDayOfMonth($testDate) {
return $testDate
->format('d') == 1;
}