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 or time selection. |
All search results
Title | Object type | File name | Summary |
---|---|---|---|
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. |
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/ |
Asserts a DateTimePlus value. |
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/ |
Tests creating dates from string and array input. |
DateTimePlusTest::testDateDiff | function | core/ |
Tests date diffs. |
DateTimePlusTest::testDateFormat | function | core/ |
Tests creating dates from format strings. |
DateTimePlusTest::testDates | function | core/ |
Tests creating dates from string and array input. |
DateTimePlusTest::testDateTimestamp | function | core/ |
Tests creating dates from datetime strings. |
Pagination
- Previous page
- Page 26
- Next page
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.