isDate() 공개 정적인 메소드

Returns true if value is a valid date, false otherwise. The date is required to be in ISO 8601 format.
public static isDate ( mixed $value ) : boolean
$value mixed
리턴 boolean
예제 #1
0
 /**
  * Generated from @assert ('2-6-30') === TRUE.
  */
 public function testIsDate4()
 {
     $this->assertSame(true, Inspekt::isDate('2-6-30'));
 }