Search for date
Exact matches
Title | Object type | File name | Summary |
---|---|---|---|
Date | class | core/ |
Basic sort handler for dates. |
Date | class | core/ |
A handler to provide proper displays for dates. |
Date | class | core/ |
Filter to handle dates stored as a timestamp. |
Date | class | core/ |
Argument handler for dates. |
Date | class | core/ |
Basic sort handler for datetime fields. |
Date | class | core/ |
Date/time views filter. |
Date | class | core/ |
Abstract argument handler for dates. |
Date | class | core/ |
Provides a form element for date selection. |
All search results
Title | Object type | File name | Summary |
---|---|---|---|
DateTimeItemTest | class | core/ |
Tests the new entity API for the date field type. |
DateTimeItemTest.php | file | core/ |
|
DateTimeItemTest::$field | property | core/ |
The field used in this test class. |
DateTimeItemTest::$fieldStorage | property | core/ |
A field storage to use in this test class. |
DateTimeItemTest::$modules | property | core/ |
Modules to enable. |
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::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 |
DateTimeNormalizerTest::testNormalizeWhenNull | function | core/ |
@covers ::normalize |
DateTimeNormalizerTest::testSupportsDenormalization | function | core/ |
@covers ::supportsDenormalization |
DateTimeNormalizerTest::testSupportsNormalization | function | core/ |
@covers ::supportsNormalization |
DateTimeNormalizerTestDrupalDateTime | class | core/ |
Note: Prophecy does not support magic methods. By subclassing and specifying an explicit method, Prophecy works. |
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. |
Pagination
- Previous page
- Page 25
- Next page
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.