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

◆ GetSeparatorToken()

TokenType System.__DTString.GetSeparatorToken ( DateTimeFormatInfo dtfi,
out int indexBeforeSeparator,
out char charBeforeSeparator )
inlinepackage

Definition at line 146 of file __DTString.cs.

147 {
148 indexBeforeSeparator = Index;
149 charBeforeSeparator = m_current;
151 {
152 return TokenType.SEP_End;
153 }
154 TokenType tokenType;
155 if (!DateTimeParse.IsDigit(m_current))
156 {
157 if (!dtfi.Tokenize(TokenType.SeparatorTokenMask, out tokenType, out var _, ref this))
158 {
159 tokenType = TokenType.SEP_Space;
160 return tokenType;
161 }
162 return tokenType;
163 }
164 tokenType = TokenType.SEP_Space;
165 return tokenType;
166 }
bool SkipWhiteSpaceCurrent()

References System.__DTString.Index, System.DateTimeParse.IsDigit(), System.__DTString.m_current, and System.__DTString.SkipWhiteSpaceCurrent().