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

◆ TryParseExact() [1/8]

static bool System.TimeOnly.TryParseExact ( [NotNullWhen(true)] string? s,
[NotNullWhen(true)] string? format,
IFormatProvider? provider,
DateTimeStyles style,
out TimeOnly result )
inlinestatic

Definition at line 465 of file TimeOnly.cs.

466 {
467 if (s == null || format == null)
468 {
469 result = default(TimeOnly);
470 return false;
471 }
472 return TryParseExact(s.AsSpan(), format.AsSpan(), provider, style, out result);
473 }
static bool TryParseExact(ReadOnlySpan< char > s, ReadOnlySpan< char > format, out TimeOnly result)
Definition TimeOnly.cs:341
TimeOnly(int hour, int minute)
Definition TimeOnly.cs:31

References System.format, System.s, and System.TimeOnly.TryParseExact().