You are here

protected static property DateTestBase::$timezones in Drupal 9

Same name and namespace in other branches
  1. 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/tests/src/Functional/DateTestBase.php, line 64

Class

DateTestBase
Provides a base class for testing Datetime field functionality.

Namespace

Drupal\Tests\datetime\Functional

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',
];