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

◆ ParseExact() [5/7]

static TimeOnly System.TimeOnly.ParseExact ( string s,
string format,
IFormatProvider? provider,
DateTimeStyles style = DateTimeStyles::None )
inlinestatic

Definition at line 281 of file TimeOnly.cs.

282 {
283 if (s == null)
284 {
285 ThrowHelper.ThrowArgumentNullException(ExceptionArgument.s);
286 }
287 if (format == null)
288 {
289 ThrowHelper.ThrowArgumentNullException(ExceptionArgument.format);
290 }
291 return ParseExact(s.AsSpan(), format.AsSpan(), provider, style);
292 }
static TimeOnly ParseExact(ReadOnlySpan< char > s, ReadOnlySpan< char > format, IFormatProvider? provider=null, DateTimeStyles style=DateTimeStyles.None)
Definition TimeOnly.cs:235

References System.format, System.TimeOnly.ParseExact(), System.s, and System.ThrowHelper.ThrowArgumentNullException().