Search for date

  1. Search 7.x for date
  2. Search 9.5.x for date
  3. Search 10.3.x for date
  4. Search 11.x for date
  5. Other projects

Exact matches

These are exact matches according to your search
Title Object type File name Summary
Date class core/modules/views/src/Plugin/views/sort/Date.php Basic sort handler for dates.
Date class core/modules/views/src/Plugin/views/field/Date.php A handler to provide proper displays for dates.
Date class core/modules/views/src/Plugin/views/filter/Date.php Filter to handle dates stored as a timestamp.
Date class core/modules/views/src/Plugin/views/argument/Date.php Argument handler for dates.
Date class core/modules/datetime/src/Plugin/views/sort/Date.php Basic sort handler for datetime fields.
Date class core/modules/datetime/src/Plugin/views/filter/Date.php Date/time views filter.
Date class core/modules/datetime/src/Plugin/views/argument/Date.php Abstract argument handler for dates.
Date class core/lib/Drupal/Core/Render/Element/Date.php Provides a form element for date selection.

All search results

Title Object type File name Summary
DateTimeHandlerTestBase::setUp function core/modules/datetime/src/Tests/Views/DateTimeHandlerTestBase.php
DateTimeHandlerTestBase::setUp function core/modules/datetime/tests/src/Kernel/Views/DateTimeHandlerTestBase.php
DateTimeInterface interface core/lib/Drupal/Core/TypedData/Type/DateTimeInterface.php Interface for dates, optionally including a time.
DateTimeInterface.php file core/lib/Drupal/Core/TypedData/Type/DateTimeInterface.php
DateTimeInterface::getDateTime function core/lib/Drupal/Core/TypedData/Type/DateTimeInterface.php Returns the date time object.
DateTimeInterface::setDateTime function core/lib/Drupal/Core/TypedData/Type/DateTimeInterface.php Sets the date time object.
DateTimeIso8601 class core/lib/Drupal/Core/TypedData/Plugin/DataType/DateTimeIso8601.php A data type for ISO 8601 date strings.
DateTimeIso8601.php file core/lib/Drupal/Core/TypedData/Plugin/DataType/DateTimeIso8601.php
DateTimeIso8601::getDateTime function core/lib/Drupal/Core/TypedData/Plugin/DataType/DateTimeIso8601.php Returns the date time object.
DateTimeIso8601::setDateTime function core/lib/Drupal/Core/TypedData/Plugin/DataType/DateTimeIso8601.php Sets the date time object.
DateTimeIso8601Normalizer class core/modules/serialization/src/Normalizer/DateTimeIso8601Normalizer.php Converts values for the DateTimeIso8601 data type to RFC3339.
DateTimeIso8601Normalizer.php file core/modules/serialization/src/Normalizer/DateTimeIso8601Normalizer.php
DateTimeIso8601Normalizer::$allowedFormats property core/modules/serialization/src/Normalizer/DateTimeIso8601Normalizer.php Allowed datetime formats for the denormalizer.
DateTimeIso8601Normalizer::$supportedInterfaceOrClass property core/modules/serialization/src/Normalizer/DateTimeIso8601Normalizer.php The interface or class that this Normalizer supports.
DateTimeIso8601Normalizer::denormalize function core/modules/serialization/src/Normalizer/DateTimeIso8601Normalizer.php
DateTimeIso8601Normalizer::normalize function core/modules/serialization/src/Normalizer/DateTimeIso8601Normalizer.php
DateTimeIso8601NormalizerTest class core/modules/serialization/tests/src/Unit/Normalizer/DateTimeIso8601NormalizerTest.php Unit test coverage for the "datetime_iso8601" @DataType.
DateTimeIso8601NormalizerTest.php file core/modules/serialization/tests/src/Unit/Normalizer/DateTimeIso8601NormalizerTest.php
DateTimeIso8601NormalizerTest::$data property core/modules/serialization/tests/src/Unit/Normalizer/DateTimeIso8601NormalizerTest.php The tested data type.
DateTimeIso8601NormalizerTest::$normalizer property core/modules/serialization/tests/src/Unit/Normalizer/DateTimeIso8601NormalizerTest.php The tested data type's normalizer.
DateTimeIso8601NormalizerTest::providerTestDenormalizeValidFormats function core/modules/serialization/tests/src/Unit/Normalizer/DateTimeIso8601NormalizerTest.php Data provider for testDenormalizeValidFormats.
DateTimeIso8601NormalizerTest::providerTestNormalize function core/modules/serialization/tests/src/Unit/Normalizer/DateTimeIso8601NormalizerTest.php Data provider for testNormalize.
DateTimeIso8601NormalizerTest::setUp function core/modules/serialization/tests/src/Unit/Normalizer/DateTimeIso8601NormalizerTest.php
DateTimeIso8601NormalizerTest::testDenormalizeDateAndTimeDeprecatedFormat function core/modules/serialization/tests/src/Unit/Normalizer/DateTimeIso8601NormalizerTest.php Tests the denormalize function with the date+time deprecated format.
DateTimeIso8601NormalizerTest::testDenormalizeDateAndTimeException function core/modules/serialization/tests/src/Unit/Normalizer/DateTimeIso8601NormalizerTest.php Tests the denormalize function with bad data for the date+time case.
DateTimeIso8601NormalizerTest::testDenormalizeDateOnlyException function core/modules/serialization/tests/src/Unit/Normalizer/DateTimeIso8601NormalizerTest.php Tests the denormalize function with bad data for the date-only case.
DateTimeIso8601NormalizerTest::testDenormalizeNoTargetInstanceOrFieldDefinitionException function core/modules/serialization/tests/src/Unit/Normalizer/DateTimeIso8601NormalizerTest.php Tests the denormalize function with incomplete serialization context.
DateTimeIso8601NormalizerTest::testDenormalizeValidFormats function core/modules/serialization/tests/src/Unit/Normalizer/DateTimeIso8601NormalizerTest.php Tests the denormalize function with good data.
DateTimeIso8601NormalizerTest::testNormalize function core/modules/serialization/tests/src/Unit/Normalizer/DateTimeIso8601NormalizerTest.php @covers ::normalize
@dataProvider providerTestNormalize
DateTimeIso8601NormalizerTest::testNormalizeWhenNull function core/modules/serialization/tests/src/Unit/Normalizer/DateTimeIso8601NormalizerTest.php @covers ::normalize
@dataProvider providerTestNormalize
DateTimeIso8601NormalizerTest::testSupportsDenormalization function core/modules/serialization/tests/src/Unit/Normalizer/DateTimeIso8601NormalizerTest.php @covers ::supportsDenormalization
DateTimeIso8601NormalizerTest::testSupportsNormalization function core/modules/serialization/tests/src/Unit/Normalizer/DateTimeIso8601NormalizerTest.php @covers ::supportsNormalization
DateTimeIso8601NormalizerTestDrupalDateTime class core/modules/serialization/tests/src/Unit/Normalizer/DateTimeIso8601NormalizerTest.php Note: Prophecy does not support magic methods. By subclassing and specifying
an explicit method, Prophecy works.
DateTimeIso8601NormalizerTestDrupalDateTime::setTimezone function core/modules/serialization/tests/src/Unit/Normalizer/DateTimeIso8601NormalizerTest.php
DateTimeItem class core/modules/datetime/src/Plugin/Field/FieldType/DateTimeItem.php Plugin implementation of the 'datetime' field type.
DateTimeItem.php file core/modules/datetime/src/Plugin/Field/FieldType/DateTimeItem.php
DateTimeItem::DATETIME_TYPE_DATE constant core/modules/datetime/src/Plugin/Field/FieldType/DateTimeItem.php Value for the 'datetime_type' setting: store only a date.
DateTimeItem::DATETIME_TYPE_DATETIME constant core/modules/datetime/src/Plugin/Field/FieldType/DateTimeItem.php Value for the 'datetime_type' setting: store a date and time.
DateTimeItem::defaultStorageSettings function core/modules/datetime/src/Plugin/Field/FieldType/DateTimeItem.php Defines the storage-level settings for this plugin.
DateTimeItem::generateSampleValue function core/modules/datetime/src/Plugin/Field/FieldType/DateTimeItem.php Generates placeholder field values.
DateTimeItem::isEmpty function core/modules/datetime/src/Plugin/Field/FieldType/DateTimeItem.php Determines whether the data structure is empty.
DateTimeItem::onChange function core/modules/datetime/src/Plugin/Field/FieldType/DateTimeItem.php React to changes to a child property or item.
DateTimeItem::propertyDefinitions function core/modules/datetime/src/Plugin/Field/FieldType/DateTimeItem.php Defines field item properties.
DateTimeItem::schema function core/modules/datetime/src/Plugin/Field/FieldType/DateTimeItem.php Returns the schema for the field.
DateTimeItem::storageSettingsForm function core/modules/datetime/src/Plugin/Field/FieldType/DateTimeItem.php Returns a form for the storage-level settings.
DateTimeItemInterface interface core/modules/datetime/src/Plugin/Field/FieldType/DateTimeItemInterface.php Interface definition for Datetime items.
DateTimeItemInterface.php file core/modules/datetime/src/Plugin/Field/FieldType/DateTimeItemInterface.php
DateTimeItemInterface::DATETIME_STORAGE_FORMAT constant core/modules/datetime/src/Plugin/Field/FieldType/DateTimeItemInterface.php Defines the format that date and time should be stored in.
DateTimeItemInterface::DATE_STORAGE_FORMAT constant core/modules/datetime/src/Plugin/Field/FieldType/DateTimeItemInterface.php Defines the format that dates should be stored in.
DateTimeItemInterface::STORAGE_TIMEZONE constant core/modules/datetime/src/Plugin/Field/FieldType/DateTimeItemInterface.php Defines the timezone that dates should be stored in.

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.