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(). |
DateTimeRangeConstantsInterface |
interface |
core/modules/datetime_range/src/DateTimeRangeConstantsInterface.php |
Declares constants used in the datetime range module. |
DateTimeRangeConstantsInterface.php |
file |
core/modules/datetime_range/src/DateTimeRangeConstantsInterface.php |
|
DateTimeRangeConstantsInterface::BOTH |
constant |
core/modules/datetime_range/src/DateTimeRangeConstantsInterface.php |
Values for the 'from_to' formatter setting. |
DateTimeRangeConstantsInterface::END_DATE |
constant |
core/modules/datetime_range/src/DateTimeRangeConstantsInterface.php |
|
DateTimeRangeConstantsInterface::START_DATE |
constant |
core/modules/datetime_range/src/DateTimeRangeConstantsInterface.php |
|
DatetimeRangeHooks |
class |
core/modules/datetime_range/src/Hook/DatetimeRangeHooks.php |
Hook implementations for datetime_range. |
DatetimeRangeHooks.php |
file |
core/modules/datetime_range/src/Hook/DatetimeRangeHooks.php |
|
DatetimeRangeHooks::help |
function |
core/modules/datetime_range/src/Hook/DatetimeRangeHooks.php |
Implements hook_help(). |
DatetimeRangeTestHooks |
class |
core/modules/datetime_range/tests/modules/datetime_range_test/src/Hook/DatetimeRangeTestHooks.php |
Hook implementations for datetime_range_test. |
DatetimeRangeTestHooks.php |
file |
core/modules/datetime_range/tests/modules/datetime_range_test/src/Hook/DatetimeRangeTestHooks.php |
|
DatetimeRangeTestHooks::entityTypeAlter |
function |
core/modules/datetime_range/tests/modules/datetime_range_test/src/Hook/DatetimeRangeTestHooks.php |
Implements hook_entity_type_alter(). |
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::dateTimeRangeDefaultSettings |
function |
core/modules/datetime_range/src/DateTimeRangeTrait.php |
Get the default settings for a date and time range display. |
DateTimeRangeTrait::dateTimeRangeSettingsForm |
function |
core/modules/datetime_range/src/DateTimeRangeTrait.php |
Configuration form for date time range. |
DateTimeRangeTrait::dateTimeRangeSettingsSummary |
function |
core/modules/datetime_range/src/DateTimeRangeTrait.php |
Gets the date time range settings summary. |
DateTimeRangeTrait::endDateIsDisplayed |
function |
core/modules/datetime_range/src/DateTimeRangeTrait.php |
Gets whether the end date should be displayed. |
DateTimeRangeTrait::getFromToOptions |
function |
core/modules/datetime_range/src/DateTimeRangeTrait.php |
Returns a list of possible values for the 'from_to' setting. |
DateTimeRangeTrait::renderStartEnd |
function |
core/modules/datetime_range/src/DateTimeRangeTrait.php |
Creates a render array given start/end dates. |
DateTimeRangeTrait::renderStartEndWithIsoAttribute |
function |
core/modules/datetime_range/src/DateTimeRangeTrait.php |
Creates a render array with ISO attributes given start/end dates. |
DateTimeRangeTrait::startDateIsDisplayed |
function |
core/modules/datetime_range/src/DateTimeRangeTrait.php |
Gets whether the start date should be displayed. |
DateTimeRangeTrait::viewElements |
function |
core/modules/datetime_range/src/DateTimeRangeTrait.php |
|
DatetimeRangeViewsHooks |
class |
core/modules/datetime_range/src/Hook/DatetimeRangeViewsHooks.php |
Hook implementations for datetime_range. |
DatetimeRangeViewsHooks.php |
file |
core/modules/datetime_range/src/Hook/DatetimeRangeViewsHooks.php |
|
DatetimeRangeViewsHooks::fieldViewsData |
function |
core/modules/datetime_range/src/Hook/DatetimeRangeViewsHooks.php |
Implements hook_field_views_data(). |
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 install. |
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. |