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. |
DateTimePlus::$langcode |
property |
core/lib/Drupal/Component/Datetime/DateTimePlus.php |
The value of the language code passed to the constructor. |
DateTimePlus::arrayToISO |
function |
core/lib/Drupal/Component/Datetime/DateTimePlus.php |
Creates an ISO date from an array of values. |
DateTimePlus::checkArray |
function |
core/lib/Drupal/Component/Datetime/DateTimePlus.php |
Checks that arrays of date parts will create a valid date. |
DateTimePlus::checkErrors |
function |
core/lib/Drupal/Component/Datetime/DateTimePlus.php |
Examines getLastErrors() to see what errors to report. |
DateTimePlus::createFromArray |
function |
core/lib/Drupal/Component/Datetime/DateTimePlus.php |
Creates a date object from an array of date parts. |
DateTimePlus::createFromDateTime |
function |
core/lib/Drupal/Component/Datetime/DateTimePlus.php |
Creates a date object from an input date object. |
DateTimePlus::createFromFormat |
function |
core/lib/Drupal/Component/Datetime/DateTimePlus.php |
Creates a date object from an input format. |
DateTimePlus::createFromTimestamp |
function |
core/lib/Drupal/Component/Datetime/DateTimePlus.php |
Creates a date object from timestamp input. |
DateTimePlus::datePad |
function |
core/lib/Drupal/Component/Datetime/DateTimePlus.php |
Pads date parts with zeros. |
DateTimePlus::diff |
function |
core/lib/Drupal/Component/Datetime/DateTimePlus.php |
Returns the difference between two DateTimePlus objects. |
DateTimePlus::FORMAT |
constant |
core/lib/Drupal/Component/Datetime/DateTimePlus.php |
|
DateTimePlus::format |
function |
core/lib/Drupal/Component/Datetime/DateTimePlus.php |
Formats the date for display. |
DateTimePlus::getErrors |
function |
core/lib/Drupal/Component/Datetime/DateTimePlus.php |
Gets error messages. |
DateTimePlus::getPhpDateTime |
function |
core/lib/Drupal/Component/Datetime/DateTimePlus.php |
Gets a clone of the proxied PHP \DateTime object wrapped by this class. |
DateTimePlus::hasErrors |
function |
core/lib/Drupal/Component/Datetime/DateTimePlus.php |
Detects if there were errors in the processing of this date. |
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. |