8 calls to DateTimePlus::createFromFormat()
- DateTimeFormatConstraintValidator::validate in core/
modules/ datetime/ src/ Plugin/ Validation/ Constraint/ DateTimeFormatConstraintValidator.php - DateTimePlusTest::providerTestDateDiff in core/
tests/ Drupal/ Tests/ Component/ Datetime/ DateTimePlusTest.php - Provides data for date tests.
- DateTimePlusTest::providerTestInvalidDateDiff in core/
tests/ Drupal/ Tests/ Component/ Datetime/ DateTimePlusTest.php - Provides data for date tests.
- DateTimePlusTest::testDateFormat in core/
tests/ Drupal/ Tests/ Component/ Datetime/ DateTimePlusTest.php - Tests creating dates from format strings.
- DateTimePlusTest::testDefaultDateTime in core/
tests/ Drupal/ Tests/ Component/ Datetime/ DateTimePlusTest.php - Tests setting the default time for date-only objects.
- DateTimePlusTest::testGetPhpDateTime in core/
tests/ Drupal/ Tests/ Component/ Datetime/ DateTimePlusTest.php - @covers ::getPhpDateTime
- DateTimePlusTest::testInvalidDates in core/
tests/ Drupal/ Tests/ Component/ Datetime/ DateTimePlusTest.php - Tests invalid date handling.
- DateTimePlusTest::testValidateFormat in core/
tests/ Drupal/ Tests/ Component/ Datetime/ DateTimePlusTest.php - Tests the $settings['validate_format'] parameter in ::createFromFormat().
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.