You are here

public function DateTest::testSetExcelCalendar in Loft Data Grids 6.2

Same name and namespace in other branches
  1. 7.2 vendor/phpoffice/phpexcel/unitTests/Classes/PHPExcel/Shared/DateTest.php \DateTest::testSetExcelCalendar()

File

vendor/phpoffice/phpexcel/unitTests/Classes/PHPExcel/Shared/DateTest.php, line 17

Class

DateTest

Code

public function testSetExcelCalendar() {
  $calendarValues = array(
    PHPExcel_Shared_Date::CALENDAR_MAC_1904,
    PHPExcel_Shared_Date::CALENDAR_WINDOWS_1900,
  );
  foreach ($calendarValues as $calendarValue) {
    $result = call_user_func(array(
      'PHPExcel_Shared_Date',
      'setExcelCalendar',
    ), $calendarValue);
    $this
      ->assertTrue($result);
  }
}