Search for time

  1. Search 7.x for time
  2. Search 9.5.x for time
  3. Search 8.9.x for time
  4. Search 10.3.x for time
  5. Other projects

Exact matches

These are exact matches according to your search
Title Object type File name Summary
Time class core/modules/views/src/Plugin/views/cache/Time.php Simple caching of query results for Views displays.
time function core/tests/Drupal/Tests/Component/Datetime/TimeTest.php Shadow time() system call.
Time class core/lib/Drupal/Component/Datetime/Time.php Provides a class for obtaining system time.

All search results

Title Object type File name Summary
DateTimeIso8601NormalizerTest::setUp function core/modules/serialization/tests/src/Unit/Normalizer/DateTimeIso8601NormalizerTest.php
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 Provides a test class for testing DrupalDateTime.
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.
DateTimeItemTest class core/modules/datetime/tests/src/Kernel/DateTimeItemTest.php Tests the new entity API for the date field type.
DateTimeItemTest.php file core/modules/datetime/tests/src/Kernel/DateTimeItemTest.php
DateTimeItemTest::$field property core/modules/datetime/tests/src/Kernel/DateTimeItemTest.php The field used in this test class.
DateTimeItemTest::$fieldStorage property core/modules/datetime/tests/src/Kernel/DateTimeItemTest.php A field storage to use in this test class.
DateTimeItemTest::$modules property core/modules/datetime/tests/src/Kernel/DateTimeItemTest.php Modules to install.
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::$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::getSupportedTypes 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.

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