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 |
---|---|---|---|
DateTimePlus::getErrors | function | core/ |
Gets error messages. |
DateTimePlus::getPhpDateTime | function | core/ |
Gets a clone of the proxied PHP \DateTime object wrapped by this class. |
DateTimePlus::hasErrors | function | core/ |
Detects if there were errors in the processing of this date. |
DateTimePlus::prepareArray | function | core/ |
Creates a complete array from a possibly incomplete array of date parts. |
DateTimePlus::prepareFormat | function | core/ |
Prepares the input format value. |
DateTimePlus::prepareTime | function | core/ |
Prepares the input time value. |
DateTimePlus::prepareTimezone | function | core/ |
Prepares the input timezone value. |
DateTimePlus::render | function | core/ |
Renders the timezone name. |
DateTimePlus::RFC7231 | constant | core/ |
A RFC7231 Compliant date. |
DateTimePlus::setDefaultDateTime | function | core/ |
Sets the default time for an object built from date-only data. |
DateTimePlus::__call | function | core/ |
Implements the magic __call method. |
DateTimePlus::__callStatic | function | core/ |
Implements the magic __callStatic method. |
DateTimePlus::__clone | function | core/ |
Implements the magic __clone method. |
DateTimePlus::__construct | function | core/ |
Constructs a date object set to a requested date and timezone. |
DateTimePlusTest | class | core/ |
@coversDefaultClass \Drupal\Component\Datetime\DateTimePlus @group Datetime |
DateTimePlusTest.php | file | core/ |
|
DateTimePlusTest::assertDateTimestamp | function | core/ |
Assertion helper for testTimestamp and testDateTimestamp since they need different dataProviders. |
DateTimePlusTest::providerTestCheckArray | function | core/ |
Data provider for testCheckArray. |
DateTimePlusTest::providerTestDateArrays | function | core/ |
Provides data for date tests. |
DateTimePlusTest::providerTestDateDiff | function | core/ |
Provides data for date tests. |
DateTimePlusTest::providerTestDateFormat | function | core/ |
Provides data for testDateFormats. |
DateTimePlusTest::providerTestDates | function | core/ |
Provides data for date tests. |
DateTimePlusTest::providerTestDateTimestamp | function | core/ |
Provides data for testDateTimestamp. |
DateTimePlusTest::providerTestDateTimezone | function | core/ |
Provides data for testDateTimezone. |
DateTimePlusTest::providerTestInvalidConstructor | function | core/ |
Provider for testInvalidConstructor(). |
DateTimePlusTest::providerTestInvalidDateArrays | function | core/ |
Data provider for testInvalidDateArrays. |
DateTimePlusTest::providerTestInvalidDateDiff | function | core/ |
Provides data for date tests. |
DateTimePlusTest::providerTestInvalidDates | function | core/ |
Provides data for testInvalidDates. |
DateTimePlusTest::providerTestTimestamp | function | core/ |
Provides data for testTimestamp. |
DateTimePlusTest::testChainable | function | core/ |
Tests that object methods are chainable. |
DateTimePlusTest::testChainableNonCallable | function | core/ |
Tests that chained calls to non-existent functions throw an exception. |
DateTimePlusTest::testChainableNonChainable | function | core/ |
Tests that non-chainable methods work. |
DateTimePlusTest::testCheckArray | function | core/ |
Tests DateTimePlus::checkArray(). |
DateTimePlusTest::testDateArrays | function | core/ |
Test creating dates from string and array input. |
DateTimePlusTest::testDateDiff | function | core/ |
Test date diffs. |
DateTimePlusTest::testDateFormat | function | core/ |
Test creating dates from format strings. |
DateTimePlusTest::testDates | function | core/ |
Test creating dates from string and array input. |
DateTimePlusTest::testDateTimestamp | function | core/ |
Test creating dates from datetime strings. |
DateTimePlusTest::testDateTimezone | function | core/ |
Tests that DrupalDateTime can detect the right timezone to use. When specified or not. |
DateTimePlusTest::testDateTimezoneWithDateTimeObject | function | core/ |
Test that DrupalDateTime can detect the right timezone to use when constructed from a datetime object. |
DateTimePlusTest::testDefaultDateTime | function | core/ |
Tests setting the default time for date-only objects. |
DateTimePlusTest::testGetPhpDateTime | function | core/ |
@covers ::getPhpDateTime |
DateTimePlusTest::testInvalidConstructor | function | core/ |
Tests invalid values passed to constructor. |
DateTimePlusTest::testInvalidDateArrays | function | core/ |
Test creating dates from invalid array input. |
DateTimePlusTest::testInvalidDateDiff | function | core/ |
Test date diff exception caused by invalid input. |
DateTimePlusTest::testInvalidDates | function | core/ |
Test invalid date handling. |
DateTimePlusTest::testTimestamp | function | core/ |
Test creating dates from timestamps, and manipulating timezones. |
DateTimePlusTest::testValidateFormat | function | core/ |
Tests the $settings['validate_format'] parameter in ::createFromFormat(). |
DateTimeRangeTrait | trait | core/ |
Provides friendly methods for datetime range. |
DateTimeRangeTrait.php | file | core/ |
Pagination
- Previous page
- Page 8
- Next page
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.