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