public static function fromFormat(string $format, string $dateString) : Date
    {
        return self::fromNative(\DateTimeImmutable::createFromFormat($format, $dateString));
    }
public static function fromFormat(string $format, string $dateString) : Date
    {
        return self::fromNative(\DateTimeImmutable::createFromFormat($format, $dateString));
    }
public static function fromFormat ( string $ format , string $ dateString ) : Date { return self :: fromNative ( \ DateTimeImmutable :: createFromFormat ( $ format , $ dateString ) ) ; }
Creates a date object from the supplied format string

@param string $format
@param string $dateString

@return Date
Creates a date object from the supplied format string