system\globalization\datetimeparse.cs (85)
603TokenType tokenType;
608TokenType sep;
631case TokenType.NumberToken:
632case TokenType.YearNumberToken:
672if (tokenType == TokenType.YearNumberToken)
683case TokenType.SEP_End:
686case TokenType.SEP_Am:
687case TokenType.SEP_Pm:
689raw.timeMark = (sep == TokenType.SEP_Am ? TM.AM : TM.PM);
696case TokenType.SEP_Space:
699case TokenType.SEP_Date:
703case TokenType.SEP_Time:
716case TokenType.SEP_DateOrOffset:
729case TokenType.SEP_YearSuff:
730case TokenType.SEP_MonthSuff:
731case TokenType.SEP_DaySuff:
735case TokenType.SEP_HourSuff:
736case TokenType.SEP_MinuteSuff:
737case TokenType.SEP_SecondSuff:
763case TokenType.SEP_End:
767case TokenType.SEP_Am:
768case TokenType.SEP_Pm:
770raw.timeMark = (sep == TokenType.SEP_Am ? TM.AM : TM.PM);
798case TokenType.SEP_Space:
802case TokenType.SEP_Date:
806case TokenType.SEP_DateOrOffset:
820case TokenType.SEP_Time:
832case TokenType.SEP_YearSuff:
844case TokenType.SEP_MonthSuff:
845case TokenType.SEP_DaySuff:
849case TokenType.SEP_HourSuff:
850case TokenType.SEP_MinuteSuff:
851case TokenType.SEP_SecondSuff:
855case TokenType.SEP_LocalTimeMark:
866case TokenType.HebrewNumber:
877case TokenType.SEP_End:
880case TokenType.SEP_Space:
883case TokenType.SEP_DateOrOffset:
915case TokenType.SEP_End:
918case TokenType.SEP_Space:
919case TokenType.SEP_Date:
922case TokenType.SEP_DateOrOffset:
943case TokenType.DayOfWeekToken:
957case TokenType.MonthToken:
965case TokenType.SEP_End:
968case TokenType.SEP_Space:
971case TokenType.SEP_Date:
974case TokenType.SEP_Time:
986case TokenType.SEP_DateOrOffset:
1012case TokenType.EraToken:
1022case TokenType.JapaneseEraToken:
1035case TokenType.TEraToken:
1048case TokenType.TimeZoneToken:
1065case TokenType.EndOfString:
1068case TokenType.DateWordToken:
1069case TokenType.IgnorableSymbol:
1072case TokenType.Am:
1073case TokenType.Pm:
1082case TokenType.UnknownToken:
2060case TokenType.SEP_YearSuff:
2067case TokenType.SEP_MonthSuff:
2074case TokenType.SEP_DaySuff:
2081case TokenType.SEP_HourSuff:
2088case TokenType.SEP_MinuteSuff:
2095case TokenType.SEP_SecondSuff:
2360dtok.suffix = TokenType.SEP_Unk;
2404if (dtok.suffix != TokenType.SEP_Unk)
2412dtok.suffix = TokenType.SEP_Unk; // Reset suffix to SEP_Unk;
4429internal void GetRegularToken(out TokenType tokenType, out int tokenValue, DateTimeFormatInfo dtfi) {
4432tokenType = TokenType.EndOfString;
4436tokenType = TokenType.UnknownToken;
4459tokenType = TokenType.NumberToken;
4462tokenType = TokenType.NumberToken;
4465tokenType = TokenType.YearNumberToken;
4474TokenType tempType;
4478if (dtfi.Tokenize(TokenType.RegularTokenMask, out tempType, out tempValue, ref this))
4502tokenType = TokenType.EndOfString;
4504dtfi.Tokenize(TokenType.RegularTokenMask, out tokenType, out tokenValue, ref this);
4509internal TokenType GetSeparatorToken(DateTimeFormatInfo dtfi, out int indexBeforeSeparator, out char charBeforeSeparator) {
4512TokenType tokenType;
4515return (TokenType.SEP_End);
4520bool found = dtfi.Tokenize(TokenType.SeparatorTokenMask, out tokenType, out tokenValue, ref this);
4522tokenType = TokenType.SEP_Space;
4527tokenType = TokenType.SEP_Space;
4910internal TokenType suffix; // Store the CJK Year/Month/Day suffix (if any)