Definition at line 4 of file TimeZoneTest.php.
◆ setUp()
Definition at line 7 of file TimeZoneTest.php.
8 {
10 define('PHPEXCEL_ROOT', APPLICATION_PATH . '/');
11 }
12 require_once(PHPEXCEL_ROOT . 'PHPExcel/Autoloader.php');
13 }
defined( 'APPLICATION_ENV')||define( 'APPLICATION_ENV'
References defined.
◆ testSetTimezone()
TimeZoneTest::testSetTimezone |
( |
| ) |
|
Definition at line 15 of file TimeZoneTest.php.
16 {
17 $timezoneValues = array(
18 'Europe/Prague',
19 'Asia/Tokyo',
20 'America/Indiana/Indianapolis',
21 'Pacific/Honolulu',
22 'Atlantic/St_Helena',
23 );
24
25 foreach($timezoneValues as $timezoneValue) {
26 $result = call_user_func(array(
'PHPExcel_Shared_TimeZone',
'setTimezone'),$timezoneValue);
28 }
29
30 }
References $result.
◆ testSetTimezoneWithInvalidValue()
TimeZoneTest::testSetTimezoneWithInvalidValue |
( |
| ) |
|
Definition at line 32 of file TimeZoneTest.php.
33 {
34 $unsupportedTimezone = 'Etc/GMT+10';
35 $result = call_user_func(array(
'PHPExcel_Shared_TimeZone',
'setTimezone'),$unsupportedTimezone);
37 }
References $result.
The documentation for this class was generated from the following file:
- libs/composer/vendor/phpoffice/phpexcel/unitTests/Classes/PHPExcel/Shared/TimeZoneTest.php