public function DateValidatorTest::getInvalidDates

File

drupal/core/vendor/symfony/validator/Symfony/Component/Validator/Tests/Constraints/DateValidatorTest.php, line 105

Class

DateValidatorTest

Namespace

Symfony\Component\Validator\Tests\Constraints

Code

public function getInvalidDates() {
  return array(
    array(
      'foobar',
    ),
    array(
      'foobar 2010-13-01',
    ),
    array(
      '2010-13-01 foobar',
    ),
    array(
      '2010-13-01',
    ),
    array(
      '2010-04-32',
    ),
    array(
      '2010-02-29',
    ),
  );
}