src/Date/DateUtil.php
public function isDayInDateFormat(string $dateFormat)
    {
        return false !== strpos($dateFormat, 'd') ||
            false !== strpos($dateFormat, 'D') ||
            false !== strpos($dateFormat, 'j') ||
            false !== strpos($dateFormat, 'l') ||
            false !== strpos($dateFormat, 'N') ||
            false !== strpos($dateFormat, 'z');
    }
public function isDayInDateFormat(string $dateFormat)
    {
        return false !== strpos($dateFormat, 'd') ||
            false !== strpos($dateFormat, 'D') ||
            false !== strpos($dateFormat, 'j') ||
            false !== strpos($dateFormat, 'l') ||
            false !== strpos($dateFormat, 'N') ||
            false !== strpos($dateFormat, 'z');
    }
public function isDayInDateFormat ( string $ dateFormat ) { return false !== strpos ( $ dateFormat , 'd' ) || false !== strpos ( $ dateFormat , 'D' ) || false !== strpos ( $ dateFormat , 'j' ) || false !== strpos ( $ dateFormat , 'l' ) || false !== strpos ( $ dateFormat , 'N' ) || false !== strpos ( $ dateFormat , 'z' ) ; }
Checks if a form of day is available in the date format.

@param string $dateFormat

@return bool
Checks if a form of day is available in the date format .