DateTimePlusTest::providerTestInvalidDateArrays |
function |
core/tests/Drupal/Tests/Component/Datetime/DateTimePlusTest.php |
Data provider for testInvalidDateArrays. |
DateTimePlusTest::providerTestInvalidDateDiff |
function |
core/tests/Drupal/Tests/Component/Datetime/DateTimePlusTest.php |
Provides data for date tests. |
DateTimePlusTest::providerTestInvalidDates |
function |
core/tests/Drupal/Tests/Component/Datetime/DateTimePlusTest.php |
Provides data for testInvalidDates. |
DateTimePlusTest::providerTestTimestamp |
function |
core/tests/Drupal/Tests/Component/Datetime/DateTimePlusTest.php |
Provides data for testTimestamp. |
DateTimePlusTest::testChainable |
function |
core/tests/Drupal/Tests/Component/Datetime/DateTimePlusTest.php |
Tests that object methods are chainable. |
DateTimePlusTest::testChainableNonCallable |
function |
core/tests/Drupal/Tests/Component/Datetime/DateTimePlusTest.php |
Tests that chained calls to non-existent functions throw an exception. |
DateTimePlusTest::testChainableNonChainable |
function |
core/tests/Drupal/Tests/Component/Datetime/DateTimePlusTest.php |
Tests that non-chainable methods work. |
DateTimePlusTest::testCheckArray |
function |
core/tests/Drupal/Tests/Component/Datetime/DateTimePlusTest.php |
Tests DateTimePlus::checkArray(). |
DateTimePlusTest::testDateArrays |
function |
core/tests/Drupal/Tests/Component/Datetime/DateTimePlusTest.php |
Tests creating dates from string and array input. |
DateTimePlusTest::testDateDiff |
function |
core/tests/Drupal/Tests/Component/Datetime/DateTimePlusTest.php |
Tests date diffs. |
DateTimePlusTest::testDateFormat |
function |
core/tests/Drupal/Tests/Component/Datetime/DateTimePlusTest.php |
Tests creating dates from format strings. |
DateTimePlusTest::testDates |
function |
core/tests/Drupal/Tests/Component/Datetime/DateTimePlusTest.php |
Tests creating dates from string and array input. |
DateTimePlusTest::testDateTimestamp |
function |
core/tests/Drupal/Tests/Component/Datetime/DateTimePlusTest.php |
Tests creating dates from datetime strings. |
DateTimePlusTest::testDateTimezone |
function |
core/tests/Drupal/Tests/Component/Datetime/DateTimePlusTest.php |
Tests that DrupalDateTime can detect the right timezone to use. |
DateTimePlusTest::testDateTimezoneWithDateTimeObject |
function |
core/tests/Drupal/Tests/Component/Datetime/DateTimePlusTest.php |
Tests that DrupalDateTime can detect the correct timezone to use. |
DateTimePlusTest::testDefaultDateTime |
function |
core/tests/Drupal/Tests/Component/Datetime/DateTimePlusTest.php |
Tests setting the default time for date-only objects. |
DateTimePlusTest::testGetPhpDateTime |
function |
core/tests/Drupal/Tests/Component/Datetime/DateTimePlusTest.php |
@covers ::getPhpDateTime |
DateTimePlusTest::testInvalidConstructor |
function |
core/tests/Drupal/Tests/Component/Datetime/DateTimePlusTest.php |
Tests invalid values passed to constructor. |
DateTimePlusTest::testInvalidDateArrays |
function |
core/tests/Drupal/Tests/Component/Datetime/DateTimePlusTest.php |
Tests creating dates from invalid array input. |
DateTimePlusTest::testInvalidDateDiff |
function |
core/tests/Drupal/Tests/Component/Datetime/DateTimePlusTest.php |
Tests date diff exception caused by invalid input. |
DateTimePlusTest::testInvalidDates |
function |
core/tests/Drupal/Tests/Component/Datetime/DateTimePlusTest.php |
Tests invalid date handling. |
DateTimePlusTest::testTimestamp |
function |
core/tests/Drupal/Tests/Component/Datetime/DateTimePlusTest.php |
Tests creating dates from timestamps, and manipulating timezones. |
DateTimePlusTest::testValidateFormat |
function |
core/tests/Drupal/Tests/Component/Datetime/DateTimePlusTest.php |
Tests the $settings['validate_format'] parameter in ::createFromFormat(). |
DateTimeRangeTrait |
trait |
core/modules/datetime_range/src/DateTimeRangeTrait.php |
Provides friendly methods for datetime range. |
DateTimeRangeTrait.php |
file |
core/modules/datetime_range/src/DateTimeRangeTrait.php |
|
DateTimeRangeTrait::viewElements |
function |
core/modules/datetime_range/src/DateTimeRangeTrait.php |
|
DateTimeSchemaTest |
class |
core/modules/datetime/tests/src/Kernel/Views/DateTimeSchemaTest.php |
Tests the Drupal\datetime\Plugin\views schemas. |
DateTimeSchemaTest.php |
file |
core/modules/datetime/tests/src/Kernel/Views/DateTimeSchemaTest.php |
|
DateTimeSchemaTest::$testViews |
property |
core/modules/datetime/tests/src/Kernel/Views/DateTimeSchemaTest.php |
Views to be enabled. |
DateTimeSchemaTest::testDateTimeSchema |
function |
core/modules/datetime/tests/src/Kernel/Views/DateTimeSchemaTest.php |
Tests argument plugin schema. |
DateTimeTest |
class |
core/modules/system/tests/src/Functional/System/DateTimeTest.php |
Test date formatting and time zone handling, including daylight saving time. |
DateTimeTest.php |
file |
core/modules/system/tests/src/Functional/System/DateTimeTest.php |
|
DateTimeTest::$defaultTheme |
property |
core/modules/system/tests/src/Functional/System/DateTimeTest.php |
The theme to install as the default for testing. |
DateTimeTest::$modules |
property |
core/modules/system/tests/src/Functional/System/DateTimeTest.php |
Modules to enable. |
DateTimeTest::setUp |
function |
core/modules/system/tests/src/Functional/System/DateTimeTest.php |
|
DateTimeTest::testDateFormatConfiguration |
function |
core/modules/system/tests/src/Functional/System/DateTimeTest.php |
Tests date format configuration. |
DateTimeTest::testEnteringDateTimeViaSelectors |
function |
core/modules/system/tests/src/Functional/System/DateTimeTest.php |
Tests handling case with invalid data in selectors (like February, 31st). |
DateTimeTest::testTimeZoneHandling |
function |
core/modules/system/tests/src/Functional/System/DateTimeTest.php |
Tests time zones and DST handling. |
DateTimeTimeAgoFormatter |
class |
core/modules/datetime/src/Plugin/Field/FieldFormatter/DateTimeTimeAgoFormatter.php |
Plugin implementation of the 'Time ago' formatter for 'datetime' fields. |
DateTimeTimeAgoFormatter.php |
file |
core/modules/datetime/src/Plugin/Field/FieldFormatter/DateTimeTimeAgoFormatter.php |
|
DateTimeTimeAgoFormatter::formatDate |
function |
core/modules/datetime/src/Plugin/Field/FieldFormatter/DateTimeTimeAgoFormatter.php |
Formats a date/time as a time interval. |
DateTimeTimeAgoFormatter::viewElements |
function |
core/modules/datetime/src/Plugin/Field/FieldFormatter/DateTimeTimeAgoFormatter.php |
Builds a renderable array for a field value. |
DateTimeTimeAgoFormatterTest |
class |
core/modules/datetime/tests/src/Functional/DateTimeTimeAgoFormatterTest.php |
Tests the functionality of DateTimeTimeAgoFormatter field formatter. |
DateTimeTimeAgoFormatterTest.php |
file |
core/modules/datetime/tests/src/Functional/DateTimeTimeAgoFormatterTest.php |
|
DateTimeTimeAgoFormatterTest::$defaultTheme |
property |
core/modules/datetime/tests/src/Functional/DateTimeTimeAgoFormatterTest.php |
The theme to install as the default for testing. |
DateTimeTimeAgoFormatterTest::$displayOptions |
property |
core/modules/datetime/tests/src/Functional/DateTimeTimeAgoFormatterTest.php |
An array of field formatter display options. |
DateTimeTimeAgoFormatterTest::$field |
property |
core/modules/datetime/tests/src/Functional/DateTimeTimeAgoFormatterTest.php |
The field used in this test class. |
DateTimeTimeAgoFormatterTest::$fieldStorage |
property |
core/modules/datetime/tests/src/Functional/DateTimeTimeAgoFormatterTest.php |
A field storage to use in this test class. |
DateTimeTimeAgoFormatterTest::$modules |
property |
core/modules/datetime/tests/src/Functional/DateTimeTimeAgoFormatterTest.php |
Modules to enable. |
DateTimeTimeAgoFormatterTest::setUp |
function |
core/modules/datetime/tests/src/Functional/DateTimeTimeAgoFormatterTest.php |
|