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

◆ ParseExact() [5/7]

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

Definition at line 230 of file DateOnly.cs.

231 {
232 if (s == null)
233 {
234 ThrowHelper.ThrowArgumentNullException(ExceptionArgument.s);
235 }
236 if (format == null)
237 {
238 ThrowHelper.ThrowArgumentNullException(ExceptionArgument.format);
239 }
240 return ParseExact(s.AsSpan(), format.AsSpan(), provider, style);
241 }
static DateOnly ParseExact(ReadOnlySpan< char > s, ReadOnlySpan< char > format, IFormatProvider? provider=null, DateTimeStyles style=DateTimeStyles.None)
Definition DateOnly.cs:184

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