DateTimeItemTest::dateonlyValidationProvider |
function |
core/modules/datetime/tests/src/Kernel/DateTimeItemTest.php |
Provider for testDatetimeValidation(). |
DateTimeItemTest::datetimeValidationProvider |
function |
core/modules/datetime/tests/src/Kernel/DateTimeItemTest.php |
Provider for testDatetimeValidation(). |
DateTimeItemTest::setUp |
function |
core/modules/datetime/tests/src/Kernel/DateTimeItemTest.php |
Set the default field storage backend for fields created during tests. |
DateTimeItemTest::testDateOnly |
function |
core/modules/datetime/tests/src/Kernel/DateTimeItemTest.php |
Tests using entity fields of the date field type. |
DateTimeItemTest::testDateonlyValidation |
function |
core/modules/datetime/tests/src/Kernel/DateTimeItemTest.php |
Tests the constraint validations for fields with date only. |
DateTimeItemTest::testDateTime |
function |
core/modules/datetime/tests/src/Kernel/DateTimeItemTest.php |
Tests using entity fields of the datetime field type. |
DateTimeItemTest::testDatetimeValidation |
function |
core/modules/datetime/tests/src/Kernel/DateTimeItemTest.php |
Tests the constraint validations for fields with date and time. |
DateTimeItemTest::testSetValue |
function |
core/modules/datetime/tests/src/Kernel/DateTimeItemTest.php |
Tests DateTimeItem::setValue(). |
DateTimeItemTest::testSetValueProperty |
function |
core/modules/datetime/tests/src/Kernel/DateTimeItemTest.php |
Tests setting the value of the DateTimeItem directly. |
DateTimeNormalizer |
class |
core/modules/serialization/src/Normalizer/DateTimeNormalizer.php |
Converts values for datetime objects to RFC3339 and from common formats. |
DateTimeNormalizer.php |
file |
core/modules/serialization/src/Normalizer/DateTimeNormalizer.php |
|
DateTimeNormalizer::$allowedFormats |
property |
core/modules/serialization/src/Normalizer/DateTimeNormalizer.php |
Allowed datetime formats for the denormalizer. |
DateTimeNormalizer::$supportedInterfaceOrClass |
property |
core/modules/serialization/src/Normalizer/DateTimeNormalizer.php |
The interface or class that this Normalizer supports. |
DateTimeNormalizer::$systemDateConfig |
property |
core/modules/serialization/src/Normalizer/DateTimeNormalizer.php |
The system's date configuration. |
DateTimeNormalizer::denormalize |
function |
core/modules/serialization/src/Normalizer/DateTimeNormalizer.php |
|
DateTimeNormalizer::getNormalizationTimezone |
function |
core/modules/serialization/src/Normalizer/DateTimeNormalizer.php |
Gets the timezone to be used during normalization. |
DateTimeNormalizer::hasCacheableSupportsMethod |
function |
core/modules/serialization/src/Normalizer/DateTimeNormalizer.php |
|
DateTimeNormalizer::normalize |
function |
core/modules/serialization/src/Normalizer/DateTimeNormalizer.php |
|
DateTimeNormalizer::__construct |
function |
core/modules/serialization/src/Normalizer/DateTimeNormalizer.php |
Constructs a new DateTimeNormalizer instance. |
DateTimeNormalizerTest |
class |
core/modules/serialization/tests/src/Unit/Normalizer/DateTimeNormalizerTest.php |
Unit test coverage for @DataTypes implementing DateTimeInterface. |
DateTimeNormalizerTest.php |
file |
core/modules/serialization/tests/src/Unit/Normalizer/DateTimeNormalizerTest.php |
|
DateTimeNormalizerTest::$data |
property |
core/modules/serialization/tests/src/Unit/Normalizer/DateTimeNormalizerTest.php |
The tested data type. |
DateTimeNormalizerTest::$normalizer |
property |
core/modules/serialization/tests/src/Unit/Normalizer/DateTimeNormalizerTest.php |
The tested data type's normalizer. |
DateTimeNormalizerTest::providerTestDenormalizeUserFormats |
function |
core/modules/serialization/tests/src/Unit/Normalizer/DateTimeNormalizerTest.php |
Data provider for testDenormalizeUserFormats. |
DateTimeNormalizerTest::providerTestDenormalizeValidFormats |
function |
core/modules/serialization/tests/src/Unit/Normalizer/DateTimeNormalizerTest.php |
Data provider for testDenormalizeValidFormats. |
DateTimeNormalizerTest::setUp |
function |
core/modules/serialization/tests/src/Unit/Normalizer/DateTimeNormalizerTest.php |
|
DateTimeNormalizerTest::testDenormalizeException |
function |
core/modules/serialization/tests/src/Unit/Normalizer/DateTimeNormalizerTest.php |
Tests the denormalize function with bad data. |
DateTimeNormalizerTest::testDenormalizeUserFormats |
function |
core/modules/serialization/tests/src/Unit/Normalizer/DateTimeNormalizerTest.php |
Tests the denormalize function with a user supplied format. |
DateTimeNormalizerTest::testDenormalizeValidFormats |
function |
core/modules/serialization/tests/src/Unit/Normalizer/DateTimeNormalizerTest.php |
Tests the denormalize function with good data. |
DateTimeNormalizerTest::testNormalize |
function |
core/modules/serialization/tests/src/Unit/Normalizer/DateTimeNormalizerTest.php |
@covers ::normalize |
DateTimeNormalizerTest::testNormalizeWhenNull |
function |
core/modules/serialization/tests/src/Unit/Normalizer/DateTimeNormalizerTest.php |
@covers ::normalize |
DateTimeNormalizerTest::testSupportsDenormalization |
function |
core/modules/serialization/tests/src/Unit/Normalizer/DateTimeNormalizerTest.php |
@covers ::supportsDenormalization |
DateTimeNormalizerTest::testSupportsNormalization |
function |
core/modules/serialization/tests/src/Unit/Normalizer/DateTimeNormalizerTest.php |
@covers ::supportsNormalization |
DateTimeNormalizerTestDrupalDateTime |
class |
core/modules/serialization/tests/src/Unit/Normalizer/DateTimeNormalizerTest.php |
Provides a test class for testing DrupalDateTime. |
DateTimeNormalizerTestDrupalDateTime::setTimezone |
function |
core/modules/serialization/tests/src/Unit/Normalizer/DateTimeNormalizerTest.php |
|
DateTimePlainFormatter |
class |
core/modules/datetime/src/Plugin/Field/FieldFormatter/DateTimePlainFormatter.php |
Plugin implementation of the 'Plain' formatter for 'datetime' fields. |
DateTimePlainFormatter.php |
file |
core/modules/datetime/src/Plugin/Field/FieldFormatter/DateTimePlainFormatter.php |
|
DateTimePlainFormatter::formatDate |
function |
core/modules/datetime/src/Plugin/Field/FieldFormatter/DateTimePlainFormatter.php |
Creates a formatted date value as a string. |
DateTimePlainFormatter::viewElements |
function |
core/modules/datetime/src/Plugin/Field/FieldFormatter/DateTimePlainFormatter.php |
Builds a renderable array for a field value. |
DateTimePlus |
class |
core/lib/Drupal/Component/Datetime/DateTimePlus.php |
Wraps DateTime(). |
DateTimePlus.php |
file |
core/lib/Drupal/Component/Datetime/DateTimePlus.php |
|
DateTimePlus::$dateParts |
property |
core/lib/Drupal/Component/Datetime/DateTimePlus.php |
An array of possible date parts. |
DateTimePlus::$dateTimeObject |
property |
core/lib/Drupal/Component/Datetime/DateTimePlus.php |
The DateTime object. |
DateTimePlus::$errors |
property |
core/lib/Drupal/Component/Datetime/DateTimePlus.php |
An array of errors encountered when creating this date. |
DateTimePlus::$inputFormatAdjusted |
property |
core/lib/Drupal/Component/Datetime/DateTimePlus.php |
The prepared format, if provided. |
DateTimePlus::$inputFormatRaw |
property |
core/lib/Drupal/Component/Datetime/DateTimePlus.php |
The value of the format passed to the constructor. |
DateTimePlus::$inputTimeAdjusted |
property |
core/lib/Drupal/Component/Datetime/DateTimePlus.php |
The prepared time, without timezone, for this date. |
DateTimePlus::$inputTimeRaw |
property |
core/lib/Drupal/Component/Datetime/DateTimePlus.php |
The value of the time value passed to the constructor. |
DateTimePlus::$inputTimeZoneAdjusted |
property |
core/lib/Drupal/Component/Datetime/DateTimePlus.php |
The prepared timezone object used to construct this date. |
DateTimePlus::$inputTimeZoneRaw |
property |
core/lib/Drupal/Component/Datetime/DateTimePlus.php |
The value of the timezone passed to the constructor. |