_Parse_TryParse
QuantConnect._Parse_TryParse
__call__
__call__(
input: str, value: Optional[timedelta]
) -> Tuple[bool, timedelta]
__call__(
input: str,
date_time_style: DateTimeStyles,
value: Optional[Union[datetime, date]],
) -> Tuple[bool, Union[datetime, date]]
__call__(
input: str,
number_style: NumberStyles,
value: Optional[float],
) -> Tuple[bool, float]
__call__(
input: str,
number_style: NumberStyles,
value: Optional[int],
) -> Tuple[bool, int]
Signature descriptions:
-
Tries to parse the provided value with TryParse as a System.TimeSpan using CultureInfo.InvariantCulture.
-
Tries to parse the provided value with TryParse as a System.DateTime using the specified date_time_style and CultureInfo.InvariantCulture.
-
Tries to parse the provided value with TryParse as a double using the specified number_style and CultureInfo.InvariantCulture.
-
Tries to parse the provided value with TryParse as a int using the specified number_style and CultureInfo.InvariantCulture.
__getitem__
__getitem__(
type: Type[QuantConnect_Parse_TryParse_T],
) -> _Typed_Parse_TryParse[QuantConnect_Parse_TryParse_T]