Search for time
Exact matches
| Title | Object type | File name | Summary |
|---|---|---|---|
| Time | class | core/ |
Simple caching of query results for Views displays. |
| time | function | core/ |
Shadow time() system call. |
| Time | class | core/ |
Provides a class for obtaining system time. |
All search results
| Title | Object type | File name | Summary |
|---|---|---|---|
| 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[[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/ |
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. |
| 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. |
| DateTimePlus::$langcode | property | core/ |
The value of the language code passed to the constructor. |
| DateTimePlus::arrayToISO | function | core/ |
Creates an ISO date from an array of values. |
| DateTimePlus::checkArray | function | core/ |
Checks that arrays of date parts will create a valid date. |
| DateTimePlus::checkErrors | function | core/ |
Examines getLastErrors() to see what errors to report. |
| DateTimePlus::createFromArray | function | core/ |
Creates a date object from an array of date parts. |
| DateTimePlus::createFromDateTime | function | core/ |
Creates a date object from an input date object. |
| DateTimePlus::createFromFormat | function | core/ |
Creates a date object from an input format. |
| DateTimePlus::createFromTimestamp | function | core/ |
Creates a date object from timestamp input. |
| DateTimePlus::datePad | function | core/ |
Pads date parts with zeros. |
| DateTimePlus::diff | function | core/ |
Returns the difference between two DateTimePlus objects. |
| DateTimePlus::FORMAT | constant | core/ |
|
| DateTimePlus::format | function | core/ |
Formats the date for display. |
Pagination
- Previous page
- Page 7
- Next page
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.