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

◆ ParseExact() [4/5]

static DateTime System.DateTime.ParseExact ( string s,
string format,
IFormatProvider? provider,
DateTimeStyles style )
inlinestatic

Definition at line 966 of file DateTime.cs.

967 {
968 DateTimeFormatInfo.ValidateStyles(style);
969 if (s == null)
970 {
971 ThrowHelper.ThrowArgumentNullException(ExceptionArgument.s);
972 }
973 if (format == null)
974 {
975 ThrowHelper.ThrowArgumentNullException(ExceptionArgument.format);
976 }
977 return DateTimeParse.ParseExact(s, format, DateTimeFormatInfo.GetInstance(provider), style);
978 }

References System.Runtime.Serialization.Dictionary, System.format, System.DateTimeParse.ParseExact(), System.s, and System.ThrowHelper.ThrowArgumentNullException().