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

◆ ParseNextChar()

static int System.DateTimeFormat.ParseNextChar ( ReadOnlySpan< char > format,
int pos )
inlinestaticpackage

Definition at line 141 of file DateTimeFormat.cs.

142 {
143 if (pos >= format.Length - 1)
144 {
145 return -1;
146 }
147 return format[pos + 1];
148 }

References System.format.

Referenced by System.DateTimeFormat.FormatCustomized(), System.Globalization.TimeSpanFormat.FormatCustomized(), and System.Globalization.TimeSpanParse.TryParseByFormat().