You are here

protected static property DateTestBase::$timezones in Drupal 8

Same name in this branch
  1. 8 core/modules/datetime/src/Tests/DateTestBase.php \Drupal\datetime\Tests\DateTestBase::timezones
  2. 8 core/modules/datetime/tests/src/Functional/DateTestBase.php \Drupal\Tests\datetime\Functional\DateTestBase::timezones

An array of timezone extremes to test.

Type: string[]

File

core/modules/datetime/src/Tests/DateTestBase.php, line 68

Class

DateTestBase
Provides a base class for testing Datetime field functionality.

Namespace

Drupal\datetime\Tests

Code

protected static $timezones = [
  // UTC-12, no DST.
  'Pacific/Kwajalein',
  // UTC-11, no DST
  'Pacific/Midway',
  // UTC-7, no DST.
  'America/Phoenix',
  // UTC.
  'UTC',
  // UTC+5:30, no DST.
  'Asia/Kolkata',
  // UTC+12, no DST
  'Pacific/Funafuti',
  // UTC+13, no DST.
  'Pacific/Tongatapu',
];