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

@param string $format
@param string $timeString

@return TimeOfDay
Creates a time object from the supplied format string