/** * Vérifie que la date passée en paramètre est valide. * * @param mixed $mDateTime Voir <i>\Aouka\Util\DateTime::_construct</i> * @return boolean <b>TRUE</b> si la date est valide. */ public static function isValid($mDateTime) { try { $oDateTime = new self($mDateTime); } catch (\Exception $oException) { return false; } return checkdate($oDateTime->getMonth(), $oDateTime->getDay(), $oDateTime->getYear()); }