Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches

◆ TryParseExact()

static bool System.Globalization.TimeSpanParse.TryParseExact ( ReadOnlySpan< char > input,
ReadOnlySpan< char > format,
IFormatProvider formatProvider,
TimeSpanStyles styles,
out TimeSpan result )
inlinestaticpackage

Definition at line 743 of file TimeSpanParse.cs.

744 {
745 TimeSpanResult result2 = new TimeSpanResult(throwOnFailure: false, input);
746 if (TryParseExactTimeSpan(input, format, formatProvider, styles, ref result2))
747 {
748 result = result2.parsedTimeSpan;
749 return true;
750 }
751 result = default(TimeSpan);
752 return false;
753 }
static bool TryParseExactTimeSpan(ReadOnlySpan< char > input, ReadOnlySpan< char > format, IFormatProvider formatProvider, TimeSpanStyles styles, ref TimeSpanResult result)

References System.format, System.input, System.Globalization.TimeSpanParse.TimeSpanResult.parsedTimeSpan, and System.Globalization.TimeSpanParse.TryParseExactTimeSpan().

Referenced by System.TimeSpan.TryParseExact(), System.TimeSpan.TryParseExact(), System.TimeSpan.TryParseExact(), and System.TimeSpan.TryParseExact().