You are here

public function DateTimeValidatorTest::getValidDateTimes in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/symfony/validator/Tests/Constraints/DateTimeValidatorTest.php \Symfony\Component\Validator\Tests\Constraints\DateTimeValidatorTest::getValidDateTimes()

File

vendor/symfony/validator/Tests/Constraints/DateTimeValidatorTest.php, line 69

Class

DateTimeValidatorTest

Namespace

Symfony\Component\Validator\Tests\Constraints

Code

public function getValidDateTimes() {
  return array(
    array(
      '2010-01-01 01:02:03',
    ),
    array(
      '1955-12-12 00:00:00',
    ),
    array(
      '2030-05-31 23:59:59',
    ),
  );
}