Converts the string to a value using the invariant culture.
public static TimeSpan? TryParseTimeSpan(string? text)