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

◆ TryParseExact() [3/8]

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

Definition at line 480 of file TimeOnly.cs.

481 {
482 if (s == null)
483 {
484 result = default(TimeOnly);
485 return false;
486 }
487 return TryParseExact(s.AsSpan(), formats, provider, style, out result);
488 }
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.formats, System.s, and System.TimeOnly.TryParseExact().