Search for d
Title | Object type | File name | Summary |
---|---|---|---|
DateFormatterInterface::format | function | core/ |
Formats a date, using a date type or a custom date format string. |
DateFormatterInterface::formatDiff | function | core/ |
Formats a time interval between two timestamps. |
DateFormatterInterface::formatInterval | function | core/ |
Formats a time interval with the requested granularity. |
DateFormatterInterface::formatTimeDiffSince | function | core/ |
Formats the time difference from a timestamp to the current request time. |
DateFormatterInterface::formatTimeDiffUntil | function | core/ |
Formats the time difference from the current request time to a timestamp. |
DateFormatterInterface::getSampleDateFormats | function | core/ |
Provides values for all date formatting characters for a given timestamp. |
DateFormatTest | class | core/ |
JSON:API integration test for the "DateFormat" config entity type. |
DateFormatTest.php | file | core/ |
|
DateFormatTest::$anonymousUsersCanViewLabels | property | core/ |
|
DateFormatTest::$defaultTheme | property | core/ |
|
DateFormatTest::$entity | property | core/ |
|
DateFormatTest::$entityTypeId | property | core/ |
|
DateFormatTest::$modules | property | core/ |
|
DateFormatTest::$resourceTypeName | property | core/ |
|
DateFormatTest::createEntity | function | core/ |
|
DateFormatTest::getExpectedDocument | function | core/ |
|
DateFormatTest::getPostDocument | function | core/ |
|
DateFormatTest::setUpAuthorization | function | core/ |
|
DateHelper | class | core/ |
Defines Gregorian Calendar date values. |
DateHelper.php | file | core/ |
|
DateHelper::ampm | function | core/ |
Constructs an array of AM and PM options. |
DateHelper::dayOfWeek | function | core/ |
Returns day of week for a given date (0 = Sunday). |
DateHelper::dayOfWeekName | function | core/ |
Returns translated name of the day of week for a given date. |
DateHelper::days | function | core/ |
Constructs an array of days in a month. |
DateHelper::daysInMonth | function | core/ |
Identifies the number of days in a month for a date. |
DateHelper::daysInYear | function | core/ |
Identifies the number of days in a year for a date. |
DateHelper::hours | function | core/ |
Constructs an array of hours. |
DateHelper::minutes | function | core/ |
Constructs an array of minutes. |
DateHelper::monthNames | function | core/ |
Returns a translated array of month names. |
DateHelper::monthNamesAbbr | function | core/ |
Constructs a translated array of month name abbreviations. |
DateHelper::monthNamesAbbrUntranslated | function | core/ |
Constructs an untranslated array of abbreviated month names. |
DateHelper::monthNamesUntranslated | function | core/ |
Constructs an untranslated array of month names. |
DateHelper::seconds | function | core/ |
Constructs an array of seconds. |
DateHelper::weekDays | function | core/ |
Returns a translated array of week names. |
DateHelper::weekDaysAbbr | function | core/ |
Constructs a translated array of week day abbreviations. |
DateHelper::weekDaysAbbr1 | function | core/ |
Constructs a translated array of 1-letter week day abbreviations. |
DateHelper::weekDaysAbbr2 | function | core/ |
Constructs a translated array of 2-letter week day abbreviations. |
DateHelper::weekDaysOrdered | function | core/ |
Reorders weekdays to match the first day of the week. |
DateHelper::weekDaysUntranslated | function | core/ |
Constructs an untranslated array of week days. |
DateHelper::years | function | core/ |
Constructs an array of years in a specified range. |
Datelist | class | core/ |
Provides a datelist element. |
Datelist.php | file | core/ |
|
Datelist::checkEmptyInputs | function | core/ |
Checks the input array for empty values. |
Datelist::getInfo | function | core/ |
|
Datelist::incrementRound | function | core/ |
Rounds minutes and seconds to nearest requested value. |
Datelist::processDatelist | function | core/ |
Expands a date element into an array of individual elements. |
Datelist::validateDatelist | function | core/ |
Validation callback for a datelist element. |
Datelist::valueCallback | function | core/ |
Validates the date type to adjust 12 hour time and prevent invalid dates. If the date is valid, the date is set in the form. |
DateRangeFormatterSettingsUpdateTest | class | core/ |
Tests the update path for daterange formatter settings. |
DateRangeFormatterSettingsUpdateTest.php | file | core/ |
Pagination
- Previous page
- Page 53
- Next page
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.