private static function PHPExcel_Calculation_Financial::_lastDayOfMonth 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::_lastDayOfMonth()
* _lastDayOfMonth * * Returns a boolean TRUE/FALSE indicating if this date is the last date of the month * *
Parameters
DateTime $testDate The date for testing: * @return boolean
1 call to PHPExcel_Calculation_Financial::_lastDayOfMonth()
- PHPExcel_Calculation_Financial::_coupFirstPeriodDate in vendor/
phpoffice/ phpexcel/ Classes/ PHPExcel/ Calculation/ Financial.php
File
- vendor/
phpoffice/ phpexcel/ Classes/ PHPExcel/ Calculation/ Financial.php, line 63
Class
- PHPExcel_Calculation_Financial
- PHPExcel_Calculation_Financial
Code
private static function _lastDayOfMonth($testDate) {
return $testDate
->format('d') == $testDate
->format('t');
}