TimezoneTest::$date

Same name in other branches
  1. 8.9.x core/tests/Drupal/KernelTests/Core/Datetime/Element/TimezoneTest.php \Drupal\KernelTests\Core\Datetime\Element\TimezoneTest::date
  2. 10 core/tests/Drupal/KernelTests/Core/Datetime/Element/TimezoneTest.php \Drupal\KernelTests\Core\Datetime\Element\TimezoneTest::date
  3. 11.x core/tests/Drupal/KernelTests/Core/Datetime/Element/TimezoneTest.php \Drupal\KernelTests\Core\Datetime\Element\TimezoneTest::date

The date used in tests.

Type: \Drupal\Core\Datetime\DrupalDateTime

File

core/tests/Drupal/KernelTests/Core/Datetime/Element/TimezoneTest.php, line 34

Class

TimezoneTest
Tests the timezone handling of datetime and datelist element types.

Namespace

Drupal\KernelTests\Core\Datetime\Element

Code

protected $date;

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.