public function date(string $format = Date::DISPLAY_FORMAT) : DateFieldBuilder
    {
        return new DateFieldBuilder($this->field->type(new DateType($format)));
    }
public function date(string $format = Date::DISPLAY_FORMAT) : DateFieldBuilder
    {
        return new DateFieldBuilder($this->field->type(new DateType($format)));
    }
public function date ( string $ format = Date :: DISPLAY_FORMAT ) : DateFieldBuilder { return new DateFieldBuilder ( $ this -> field -> type ( new DateType ( $ format ) ) ) ; }
Validates the input with the supplied format and
converts the input to a Date instance.

@see \Dms\Common\Structure\DateTime\Date

@param string $format

@return DateFieldBuilder
Validates the input with the supplied format and converts the input to a Date instance .