DateTimePlus::prepareArray |
function |
core/lib/Drupal/Component/Datetime/DateTimePlus.php |
Creates a complete array from a possibly incomplete array of date parts. |
DateTimePlus::prepareFormat |
function |
core/lib/Drupal/Component/Datetime/DateTimePlus.php |
Prepares the input format value. |
DateTimePlus::prepareTime |
function |
core/lib/Drupal/Component/Datetime/DateTimePlus.php |
Prepares the input time value. |
DateTimePlus::prepareTimezone |
function |
core/lib/Drupal/Component/Datetime/DateTimePlus.php |
Prepares the input timezone value. |
DateTimePlus::render |
function |
core/lib/Drupal/Component/Datetime/DateTimePlus.php |
Renders the timezone name. |
DateTimePlus::RFC7231 |
constant |
core/lib/Drupal/Component/Datetime/DateTimePlus.php |
A RFC7231 Compliant date. |
DateTimePlus::setDefaultDateTime |
function |
core/lib/Drupal/Component/Datetime/DateTimePlus.php |
Sets the default time for an object built from date-only data. |
DateTimePlus::__call |
function |
core/lib/Drupal/Component/Datetime/DateTimePlus.php |
Implements the magic __call method. |
DateTimePlus::__callStatic |
function |
core/lib/Drupal/Component/Datetime/DateTimePlus.php |
Implements the magic __callStatic method. |
DateTimePlus::__clone |
function |
core/lib/Drupal/Component/Datetime/DateTimePlus.php |
Implements the magic __clone method. |
DateTimePlus::__construct |
function |
core/lib/Drupal/Component/Datetime/DateTimePlus.php |
Constructs a date object set to a requested date and timezone. |
DateTimePlusTest |
class |
core/tests/Drupal/Tests/Component/Datetime/DateTimePlusTest.php |
Tests Drupal\Component\Datetime\DateTimePlus. |
DateTimePlusTest.php |
file |
core/tests/Drupal/Tests/Component/Datetime/DateTimePlusTest.php |
|
DateTimePlusTest::assertDateTimestamp |
function |
core/tests/Drupal/Tests/Component/Datetime/DateTimePlusTest.php |
Asserts a DateTimePlus value. |
DateTimePlusTest::providerTestCheckArray |
function |
core/tests/Drupal/Tests/Component/Datetime/DateTimePlusTest.php |
Data provider for testCheckArray. |
DateTimePlusTest::providerTestDateArrays |
function |
core/tests/Drupal/Tests/Component/Datetime/DateTimePlusTest.php |
Provides data for date tests. |
DateTimePlusTest::providerTestDateDiff |
function |
core/tests/Drupal/Tests/Component/Datetime/DateTimePlusTest.php |
Provides data for date tests. |
DateTimePlusTest::providerTestDateFormat |
function |
core/tests/Drupal/Tests/Component/Datetime/DateTimePlusTest.php |
Provides data for testDateFormats. |
DateTimePlusTest::providerTestDates |
function |
core/tests/Drupal/Tests/Component/Datetime/DateTimePlusTest.php |
Provides data for date tests. |
DateTimePlusTest::providerTestDateTimestamp |
function |
core/tests/Drupal/Tests/Component/Datetime/DateTimePlusTest.php |
Provides data for testDateTimestamp. |
DateTimePlusTest::providerTestDateTimezone |
function |
core/tests/Drupal/Tests/Component/Datetime/DateTimePlusTest.php |
Provides data for testDateTimezone. |
DateTimePlusTest::providerTestInvalidConstructor |
function |
core/tests/Drupal/Tests/Component/Datetime/DateTimePlusTest.php |
Provider for testInvalidConstructor(). |
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 |
@legacy-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 |
|