Lines Matching full:fixed
12 use super::{Fixed, InternalFixed, InternalInternal, Item, Numeric, Pad, Parsed};
383 Item::Fixed(ref spec) => { in parse_internal()
384 use super::Fixed::*; in parse_internal()
563 Item::Fixed(Fixed::Nanosecond), in parse_rfc3339_relaxed()
839 use crate::format::Fixed::*; in test_parse_fixed()
842 // fixed: month and weekday names in test_parse_fixed()
843 check("apr", &[fixed(ShortMonthName)], parsed!(month: 4)); in test_parse_fixed()
844 check("Apr", &[fixed(ShortMonthName)], parsed!(month: 4)); in test_parse_fixed()
845 check("APR", &[fixed(ShortMonthName)], parsed!(month: 4)); in test_parse_fixed()
846 check("ApR", &[fixed(ShortMonthName)], parsed!(month: 4)); in test_parse_fixed()
847 check("\u{0363}APR", &[fixed(ShortMonthName)], Err(INVALID)); in test_parse_fixed()
848 check("April", &[fixed(ShortMonthName)], Err(TOO_LONG)); // `Apr` is parsed in test_parse_fixed()
849 check("A", &[fixed(ShortMonthName)], Err(TOO_SHORT)); in test_parse_fixed()
850 check("Sol", &[fixed(ShortMonthName)], Err(INVALID)); in test_parse_fixed()
851 check("Apr", &[fixed(LongMonthName)], parsed!(month: 4)); in test_parse_fixed()
852 check("Apri", &[fixed(LongMonthName)], Err(TOO_LONG)); // `Apr` is parsed in test_parse_fixed()
853 check("April", &[fixed(LongMonthName)], parsed!(month: 4)); in test_parse_fixed()
854 check("Aprill", &[fixed(LongMonthName)], Err(TOO_LONG)); in test_parse_fixed()
855 check("Aprill", &[fixed(LongMonthName), Literal("l")], parsed!(month: 4)); in test_parse_fixed()
856 check("Aprl", &[fixed(LongMonthName), Literal("l")], parsed!(month: 4)); in test_parse_fixed()
857 check("April", &[fixed(LongMonthName), Literal("il")], Err(TOO_SHORT)); // do not backtrack in test_parse_fixed()
858 check("thu", &[fixed(ShortWeekdayName)], parsed!(weekday: Weekday::Thu)); in test_parse_fixed()
859 check("Thu", &[fixed(ShortWeekdayName)], parsed!(weekday: Weekday::Thu)); in test_parse_fixed()
860 check("THU", &[fixed(ShortWeekdayName)], parsed!(weekday: Weekday::Thu)); in test_parse_fixed()
861 check("tHu", &[fixed(ShortWeekdayName)], parsed!(weekday: Weekday::Thu)); in test_parse_fixed()
862 check("Thursday", &[fixed(ShortWeekdayName)], Err(TOO_LONG)); // `Thu` is parsed in test_parse_fixed()
863 check("T", &[fixed(ShortWeekdayName)], Err(TOO_SHORT)); in test_parse_fixed()
864 check("The", &[fixed(ShortWeekdayName)], Err(INVALID)); in test_parse_fixed()
865 check("Nop", &[fixed(ShortWeekdayName)], Err(INVALID)); in test_parse_fixed()
866 check("Thu", &[fixed(LongWeekdayName)], parsed!(weekday: Weekday::Thu)); in test_parse_fixed()
867 check("Thur", &[fixed(LongWeekdayName)], Err(TOO_LONG)); // `Thu` is parsed in test_parse_fixed()
868 check("Thurs", &[fixed(LongWeekdayName)], Err(TOO_LONG)); // `Thu` is parsed in test_parse_fixed()
869 check("Thursday", &[fixed(LongWeekdayName)], parsed!(weekday: Weekday::Thu)); in test_parse_fixed()
870 check("Thursdays", &[fixed(LongWeekdayName)], Err(TOO_LONG)); in test_parse_fixed()
871 check("Thursdays", &[fixed(LongWeekdayName), Literal("s")], parsed!(weekday: Weekday::Thu)); in test_parse_fixed()
872 check("Thus", &[fixed(LongWeekdayName), Literal("s")], parsed!(weekday: Weekday::Thu)); in test_parse_fixed()
873 …check("Thursday", &[fixed(LongWeekdayName), Literal("rsday")], Err(TOO_SHORT)); // do not backtrack in test_parse_fixed()
875 // fixed: am/pm in test_parse_fixed()
876 check("am", &[fixed(LowerAmPm)], parsed!(hour_div_12: 0)); in test_parse_fixed()
877 check("pm", &[fixed(LowerAmPm)], parsed!(hour_div_12: 1)); in test_parse_fixed()
878 check("AM", &[fixed(LowerAmPm)], parsed!(hour_div_12: 0)); in test_parse_fixed()
879 check("PM", &[fixed(LowerAmPm)], parsed!(hour_div_12: 1)); in test_parse_fixed()
880 check("am", &[fixed(UpperAmPm)], parsed!(hour_div_12: 0)); in test_parse_fixed()
881 check("pm", &[fixed(UpperAmPm)], parsed!(hour_div_12: 1)); in test_parse_fixed()
882 check("AM", &[fixed(UpperAmPm)], parsed!(hour_div_12: 0)); in test_parse_fixed()
883 check("PM", &[fixed(UpperAmPm)], parsed!(hour_div_12: 1)); in test_parse_fixed()
884 check("Am", &[fixed(LowerAmPm)], parsed!(hour_div_12: 0)); in test_parse_fixed()
885 check(" Am", &[Space(" "), fixed(LowerAmPm)], parsed!(hour_div_12: 0)); in test_parse_fixed()
886 check("Am", &[fixed(LowerAmPm), Literal("")], parsed!(hour_div_12: 0)); in test_parse_fixed()
887 check("Am", &[Literal(""), fixed(LowerAmPm)], parsed!(hour_div_12: 0)); in test_parse_fixed()
888 check("\u{0363}am", &[fixed(LowerAmPm)], Err(INVALID)); in test_parse_fixed()
889 check("\u{0360}am", &[fixed(LowerAmPm)], Err(INVALID)); in test_parse_fixed()
890 check(" Am", &[fixed(LowerAmPm)], Err(INVALID)); in test_parse_fixed()
891 check("Am ", &[fixed(LowerAmPm)], Err(TOO_LONG)); in test_parse_fixed()
892 check("a.m.", &[fixed(LowerAmPm)], Err(INVALID)); in test_parse_fixed()
893 check("A.M.", &[fixed(LowerAmPm)], Err(INVALID)); in test_parse_fixed()
894 check("ame", &[fixed(LowerAmPm)], Err(TOO_LONG)); // `am` is parsed in test_parse_fixed()
895 check("a", &[fixed(LowerAmPm)], Err(TOO_SHORT)); in test_parse_fixed()
896 check("p", &[fixed(LowerAmPm)], Err(TOO_SHORT)); in test_parse_fixed()
897 check("x", &[fixed(LowerAmPm)], Err(TOO_SHORT)); in test_parse_fixed()
898 check("xx", &[fixed(LowerAmPm)], Err(INVALID)); in test_parse_fixed()
899 check("", &[fixed(LowerAmPm)], Err(TOO_SHORT)); in test_parse_fixed()
904 use crate::format::Fixed::Nanosecond; in test_parse_fixed_nanosecond()
909 // fixed: dot plus nanoseconds in test_parse_fixed_nanosecond()
910 check("", &[fixed(Nanosecond)], parsed!()); // no field set, but not an error in test_parse_fixed_nanosecond()
911 check(".", &[fixed(Nanosecond)], Err(TOO_SHORT)); in test_parse_fixed_nanosecond()
912 check("4", &[fixed(Nanosecond)], Err(TOO_LONG)); // never consumes `4` in test_parse_fixed_nanosecond()
913 check("4", &[fixed(Nanosecond), num(Second)], parsed!(second: 4)); in test_parse_fixed_nanosecond()
914 check(".0", &[fixed(Nanosecond)], parsed!(nanosecond: 0)); in test_parse_fixed_nanosecond()
915 check(".4", &[fixed(Nanosecond)], parsed!(nanosecond: 400_000_000)); in test_parse_fixed_nanosecond()
916 check(".42", &[fixed(Nanosecond)], parsed!(nanosecond: 420_000_000)); in test_parse_fixed_nanosecond()
917 check(".421", &[fixed(Nanosecond)], parsed!(nanosecond: 421_000_000)); in test_parse_fixed_nanosecond()
918 check(".42195", &[fixed(Nanosecond)], parsed!(nanosecond: 421_950_000)); in test_parse_fixed_nanosecond()
919 check(".421951", &[fixed(Nanosecond)], parsed!(nanosecond: 421_951_000)); in test_parse_fixed_nanosecond()
920 check(".4219512", &[fixed(Nanosecond)], parsed!(nanosecond: 421_951_200)); in test_parse_fixed_nanosecond()
921 check(".42195123", &[fixed(Nanosecond)], parsed!(nanosecond: 421_951_230)); in test_parse_fixed_nanosecond()
922 check(".421950803", &[fixed(Nanosecond)], parsed!(nanosecond: 421_950_803)); in test_parse_fixed_nanosecond()
923 check(".4219508035", &[fixed(Nanosecond)], parsed!(nanosecond: 421_950_803)); in test_parse_fixed_nanosecond()
924 check(".42195080354", &[fixed(Nanosecond)], parsed!(nanosecond: 421_950_803)); in test_parse_fixed_nanosecond()
925 check(".421950803547", &[fixed(Nanosecond)], parsed!(nanosecond: 421_950_803)); in test_parse_fixed_nanosecond()
926 check(".000000003", &[fixed(Nanosecond)], parsed!(nanosecond: 3)); in test_parse_fixed_nanosecond()
927 check(".0000000031", &[fixed(Nanosecond)], parsed!(nanosecond: 3)); in test_parse_fixed_nanosecond()
928 check(".0000000035", &[fixed(Nanosecond)], parsed!(nanosecond: 3)); in test_parse_fixed_nanosecond()
929 check(".000000003547", &[fixed(Nanosecond)], parsed!(nanosecond: 3)); in test_parse_fixed_nanosecond()
930 check(".0000000009", &[fixed(Nanosecond)], parsed!(nanosecond: 0)); in test_parse_fixed_nanosecond()
931 check(".000000000547", &[fixed(Nanosecond)], parsed!(nanosecond: 0)); in test_parse_fixed_nanosecond()
932 check(".0000000009999999999999999999999999", &[fixed(Nanosecond)], parsed!(nanosecond: 0)); in test_parse_fixed_nanosecond()
933 check(".4", &[fixed(Nanosecond), Literal("")], parsed!(nanosecond: 400_000_000)); in test_parse_fixed_nanosecond()
934 check(".4x", &[fixed(Nanosecond)], Err(TOO_LONG)); in test_parse_fixed_nanosecond()
935 check(". 4", &[fixed(Nanosecond)], Err(INVALID)); in test_parse_fixed_nanosecond()
936 check(" .4", &[fixed(Nanosecond)], Err(TOO_LONG)); // no automatic trimming in test_parse_fixed_nanosecond()
938 // fixed: nanoseconds without the dot in test_parse_fixed_nanosecond()
1001 use crate::format::Fixed::*; in test_parse_fixed_timezone_offset()
1006 check("1", &[fixed(TimezoneOffset)], Err(INVALID)); in test_parse_fixed_timezone_offset()
1007 check("12", &[fixed(TimezoneOffset)], Err(INVALID)); in test_parse_fixed_timezone_offset()
1008 check("123", &[fixed(TimezoneOffset)], Err(INVALID)); in test_parse_fixed_timezone_offset()
1009 check("1234", &[fixed(TimezoneOffset)], Err(INVALID)); in test_parse_fixed_timezone_offset()
1010 check("12345", &[fixed(TimezoneOffset)], Err(INVALID)); in test_parse_fixed_timezone_offset()
1011 check("123456", &[fixed(TimezoneOffset)], Err(INVALID)); in test_parse_fixed_timezone_offset()
1012 check("1234567", &[fixed(TimezoneOffset)], Err(INVALID)); in test_parse_fixed_timezone_offset()
1013 check("+1", &[fixed(TimezoneOffset)], Err(TOO_SHORT)); in test_parse_fixed_timezone_offset()
1014 check("+12", &[fixed(TimezoneOffset)], Err(TOO_SHORT)); in test_parse_fixed_timezone_offset()
1015 check("+123", &[fixed(TimezoneOffset)], Err(TOO_SHORT)); in test_parse_fixed_timezone_offset()
1016 check("+1234", &[fixed(TimezoneOffset)], parsed!(offset: 45_240)); in test_parse_fixed_timezone_offset()
1017 check("+12345", &[fixed(TimezoneOffset)], Err(TOO_LONG)); in test_parse_fixed_timezone_offset()
1018 check("+123456", &[fixed(TimezoneOffset)], Err(TOO_LONG)); in test_parse_fixed_timezone_offset()
1019 check("+1234567", &[fixed(TimezoneOffset)], Err(TOO_LONG)); in test_parse_fixed_timezone_offset()
1020 check("+12345678", &[fixed(TimezoneOffset)], Err(TOO_LONG)); in test_parse_fixed_timezone_offset()
1021 check("+12:", &[fixed(TimezoneOffset)], Err(TOO_SHORT)); in test_parse_fixed_timezone_offset()
1022 check("+12:3", &[fixed(TimezoneOffset)], Err(TOO_SHORT)); in test_parse_fixed_timezone_offset()
1023 check("+12:34", &[fixed(TimezoneOffset)], parsed!(offset: 45_240)); in test_parse_fixed_timezone_offset()
1024 check("-12:34", &[fixed(TimezoneOffset)], parsed!(offset: -45_240)); in test_parse_fixed_timezone_offset()
1025 check("−12:34", &[fixed(TimezoneOffset)], parsed!(offset: -45_240)); // MINUS SIGN (U+2212) in test_parse_fixed_timezone_offset()
1026 check("+12:34:", &[fixed(TimezoneOffset)], Err(TOO_LONG)); in test_parse_fixed_timezone_offset()
1027 check("+12:34:5", &[fixed(TimezoneOffset)], Err(TOO_LONG)); in test_parse_fixed_timezone_offset()
1028 check("+12:34:56", &[fixed(TimezoneOffset)], Err(TOO_LONG)); in test_parse_fixed_timezone_offset()
1029 check("+12:34:56:", &[fixed(TimezoneOffset)], Err(TOO_LONG)); in test_parse_fixed_timezone_offset()
1030 check("+12 34", &[fixed(TimezoneOffset)], parsed!(offset: 45_240)); in test_parse_fixed_timezone_offset()
1031 check("+12 34", &[fixed(TimezoneOffset)], parsed!(offset: 45_240)); in test_parse_fixed_timezone_offset()
1032 check("12:34", &[fixed(TimezoneOffset)], Err(INVALID)); in test_parse_fixed_timezone_offset()
1033 check("12:34:56", &[fixed(TimezoneOffset)], Err(INVALID)); in test_parse_fixed_timezone_offset()
1034 check("+12::34", &[fixed(TimezoneOffset)], parsed!(offset: 45_240)); in test_parse_fixed_timezone_offset()
1035 check("+12: :34", &[fixed(TimezoneOffset)], parsed!(offset: 45_240)); in test_parse_fixed_timezone_offset()
1036 check("+12:::34", &[fixed(TimezoneOffset)], parsed!(offset: 45_240)); in test_parse_fixed_timezone_offset()
1037 check("+12::::34", &[fixed(TimezoneOffset)], parsed!(offset: 45_240)); in test_parse_fixed_timezone_offset()
1038 check("+12::34", &[fixed(TimezoneOffset)], parsed!(offset: 45_240)); in test_parse_fixed_timezone_offset()
1039 check("+12:34:56", &[fixed(TimezoneOffset)], Err(TOO_LONG)); in test_parse_fixed_timezone_offset()
1040 check("+12:3456", &[fixed(TimezoneOffset)], Err(TOO_LONG)); in test_parse_fixed_timezone_offset()
1041 check("+1234:56", &[fixed(TimezoneOffset)], Err(TOO_LONG)); in test_parse_fixed_timezone_offset()
1042 check("+1234:567", &[fixed(TimezoneOffset)], Err(TOO_LONG)); in test_parse_fixed_timezone_offset()
1043 check("+00:00", &[fixed(TimezoneOffset)], parsed!(offset: 0)); in test_parse_fixed_timezone_offset()
1044 check("-00:00", &[fixed(TimezoneOffset)], parsed!(offset: 0)); in test_parse_fixed_timezone_offset()
1045 check("−00:00", &[fixed(TimezoneOffset)], parsed!(offset: 0)); // MINUS SIGN (U+2212) in test_parse_fixed_timezone_offset()
1046 check("+00:01", &[fixed(TimezoneOffset)], parsed!(offset: 60)); in test_parse_fixed_timezone_offset()
1047 check("-00:01", &[fixed(TimezoneOffset)], parsed!(offset: -60)); in test_parse_fixed_timezone_offset()
1048 check("+00:30", &[fixed(TimezoneOffset)], parsed!(offset: 1_800)); in test_parse_fixed_timezone_offset()
1049 check("-00:30", &[fixed(TimezoneOffset)], parsed!(offset: -1_800)); in test_parse_fixed_timezone_offset()
1050 check("+24:00", &[fixed(TimezoneOffset)], parsed!(offset: 86_400)); in test_parse_fixed_timezone_offset()
1051 check("-24:00", &[fixed(TimezoneOffset)], parsed!(offset: -86_400)); in test_parse_fixed_timezone_offset()
1052 check("−24:00", &[fixed(TimezoneOffset)], parsed!(offset: -86_400)); // MINUS SIGN (U+2212) in test_parse_fixed_timezone_offset()
1053 check("+99:59", &[fixed(TimezoneOffset)], parsed!(offset: 359_940)); in test_parse_fixed_timezone_offset()
1054 check("-99:59", &[fixed(TimezoneOffset)], parsed!(offset: -359_940)); in test_parse_fixed_timezone_offset()
1055 check("+00:60", &[fixed(TimezoneOffset)], Err(OUT_OF_RANGE)); in test_parse_fixed_timezone_offset()
1056 check("+00:99", &[fixed(TimezoneOffset)], Err(OUT_OF_RANGE)); in test_parse_fixed_timezone_offset()
1057 check("#12:34", &[fixed(TimezoneOffset)], Err(INVALID)); in test_parse_fixed_timezone_offset()
1058 check("+12:34 ", &[fixed(TimezoneOffset)], Err(TOO_LONG)); in test_parse_fixed_timezone_offset()
1059 check("+12 34 ", &[fixed(TimezoneOffset)], Err(TOO_LONG)); in test_parse_fixed_timezone_offset()
1060 check(" +12:34", &[fixed(TimezoneOffset)], parsed!(offset: 45_240)); in test_parse_fixed_timezone_offset()
1061 check(" -12:34", &[fixed(TimezoneOffset)], parsed!(offset: -45_240)); in test_parse_fixed_timezone_offset()
1062 check(" −12:34", &[fixed(TimezoneOffset)], parsed!(offset: -45_240)); // MINUS SIGN (U+2212) in test_parse_fixed_timezone_offset()
1063 check(" +12:34", &[fixed(TimezoneOffset)], parsed!(offset: 45_240)); in test_parse_fixed_timezone_offset()
1064 check(" -12:34", &[fixed(TimezoneOffset)], parsed!(offset: -45_240)); in test_parse_fixed_timezone_offset()
1065 check("\t -12:34", &[fixed(TimezoneOffset)], parsed!(offset: -45_240)); in test_parse_fixed_timezone_offset()
1066 check("-12: 34", &[fixed(TimezoneOffset)], parsed!(offset: -45_240)); in test_parse_fixed_timezone_offset()
1067 check("-12 :34", &[fixed(TimezoneOffset)], parsed!(offset: -45_240)); in test_parse_fixed_timezone_offset()
1068 check("-12 : 34", &[fixed(TimezoneOffset)], parsed!(offset: -45_240)); in test_parse_fixed_timezone_offset()
1069 check("-12 : 34", &[fixed(TimezoneOffset)], parsed!(offset: -45_240)); in test_parse_fixed_timezone_offset()
1070 check("-12 : 34", &[fixed(TimezoneOffset)], parsed!(offset: -45_240)); in test_parse_fixed_timezone_offset()
1071 check("-12: 34", &[fixed(TimezoneOffset)], parsed!(offset: -45_240)); in test_parse_fixed_timezone_offset()
1072 check("-12 :34", &[fixed(TimezoneOffset)], parsed!(offset: -45_240)); in test_parse_fixed_timezone_offset()
1073 check("-12 : 34", &[fixed(TimezoneOffset)], parsed!(offset: -45_240)); in test_parse_fixed_timezone_offset()
1074 check("12:34 ", &[fixed(TimezoneOffset)], Err(INVALID)); in test_parse_fixed_timezone_offset()
1075 check(" 12:34", &[fixed(TimezoneOffset)], Err(INVALID)); in test_parse_fixed_timezone_offset()
1076 check("", &[fixed(TimezoneOffset)], Err(TOO_SHORT)); in test_parse_fixed_timezone_offset()
1077 check("+", &[fixed(TimezoneOffset)], Err(TOO_SHORT)); in test_parse_fixed_timezone_offset()
1080 &[fixed(TimezoneOffset), num(Numeric::Day)], in test_parse_fixed_timezone_offset()
1085 &[fixed(TimezoneOffset), num(Numeric::Day)], in test_parse_fixed_timezone_offset()
1088 check("+12:34:", &[fixed(TimezoneOffset), Literal(":")], parsed!(offset: 45_240)); in test_parse_fixed_timezone_offset()
1089 check("Z12:34", &[fixed(TimezoneOffset)], Err(INVALID)); in test_parse_fixed_timezone_offset()
1090 check("X12:34", &[fixed(TimezoneOffset)], Err(INVALID)); in test_parse_fixed_timezone_offset()
1091 check("Z+12:34", &[fixed(TimezoneOffset)], Err(INVALID)); in test_parse_fixed_timezone_offset()
1092 check("X+12:34", &[fixed(TimezoneOffset)], Err(INVALID)); in test_parse_fixed_timezone_offset()
1093 check("X−12:34", &[fixed(TimezoneOffset)], Err(INVALID)); // MINUS SIGN (U+2212) in test_parse_fixed_timezone_offset()
1094 check("+12:34", &[fixed(TimezoneOffset)], Err(INVALID)); in test_parse_fixed_timezone_offset()
1095 check("+12:34", &[fixed(TimezoneOffset)], Err(TOO_LONG)); in test_parse_fixed_timezone_offset()
1096 check("+12:34", &[fixed(TimezoneOffset)], Err(INVALID)); in test_parse_fixed_timezone_offset()
1097 check("+1234", &[fixed(TimezoneOffset), Literal("")], parsed!(offset: 45_240)); in test_parse_fixed_timezone_offset()
1098 check("-1234", &[fixed(TimezoneOffset), Literal("")], parsed!(offset: -45_240)); in test_parse_fixed_timezone_offset()
1099 …check("−1234", &[fixed(TimezoneOffset), Literal("")], parsed!(offset: -45_240)); // MINUS SIGN… in test_parse_fixed_timezone_offset()
1100 check("+12:34", &[fixed(TimezoneOffset), Literal("")], parsed!(offset: 45_240)); in test_parse_fixed_timezone_offset()
1101 check("-12:34", &[fixed(TimezoneOffset), Literal("")], parsed!(offset: -45_240)); in test_parse_fixed_timezone_offset()
1102 …check("−12:34", &[fixed(TimezoneOffset), Literal("")], parsed!(offset: -45_240)); // MINUS SIG… in test_parse_fixed_timezone_offset()
1103 check("+12:34", &[Literal(""), fixed(TimezoneOffset)], parsed!(offset: 45_240)); in test_parse_fixed_timezone_offset()
1104 check("Z", &[fixed(TimezoneOffset)], Err(INVALID)); in test_parse_fixed_timezone_offset()
1105 check("A", &[fixed(TimezoneOffset)], Err(INVALID)); in test_parse_fixed_timezone_offset()
1106 check("PST", &[fixed(TimezoneOffset)], Err(INVALID)); in test_parse_fixed_timezone_offset()
1107 check("#Z", &[fixed(TimezoneOffset)], Err(INVALID)); in test_parse_fixed_timezone_offset()
1108 check(":Z", &[fixed(TimezoneOffset)], Err(INVALID)); in test_parse_fixed_timezone_offset()
1109 check("+Z", &[fixed(TimezoneOffset)], Err(TOO_SHORT)); in test_parse_fixed_timezone_offset()
1110 check("+:Z", &[fixed(TimezoneOffset)], Err(INVALID)); in test_parse_fixed_timezone_offset()
1111 check("+Z:", &[fixed(TimezoneOffset)], Err(INVALID)); in test_parse_fixed_timezone_offset()
1112 check("z", &[fixed(TimezoneOffset)], Err(INVALID)); in test_parse_fixed_timezone_offset()
1113 check(" :Z", &[fixed(TimezoneOffset)], Err(INVALID)); in test_parse_fixed_timezone_offset()
1114 check(" Z", &[fixed(TimezoneOffset)], Err(INVALID)); in test_parse_fixed_timezone_offset()
1115 check(" z", &[fixed(TimezoneOffset)], Err(INVALID)); in test_parse_fixed_timezone_offset()
1118 check("1", &[fixed(TimezoneOffsetColon)], Err(INVALID)); in test_parse_fixed_timezone_offset()
1119 check("12", &[fixed(TimezoneOffsetColon)], Err(INVALID)); in test_parse_fixed_timezone_offset()
1120 check("123", &[fixed(TimezoneOffsetColon)], Err(INVALID)); in test_parse_fixed_timezone_offset()
1121 check("1234", &[fixed(TimezoneOffsetColon)], Err(INVALID)); in test_parse_fixed_timezone_offset()
1122 check("12345", &[fixed(TimezoneOffsetColon)], Err(INVALID)); in test_parse_fixed_timezone_offset()
1123 check("123456", &[fixed(TimezoneOffsetColon)], Err(INVALID)); in test_parse_fixed_timezone_offset()
1124 check("1234567", &[fixed(TimezoneOffsetColon)], Err(INVALID)); in test_parse_fixed_timezone_offset()
1125 check("12345678", &[fixed(TimezoneOffsetColon)], Err(INVALID)); in test_parse_fixed_timezone_offset()
1126 check("+1", &[fixed(TimezoneOffsetColon)], Err(TOO_SHORT)); in test_parse_fixed_timezone_offset()
1127 check("+12", &[fixed(TimezoneOffsetColon)], Err(TOO_SHORT)); in test_parse_fixed_timezone_offset()
1128 check("+123", &[fixed(TimezoneOffsetColon)], Err(TOO_SHORT)); in test_parse_fixed_timezone_offset()
1129 check("+1234", &[fixed(TimezoneOffsetColon)], parsed!(offset: 45_240)); in test_parse_fixed_timezone_offset()
1130 check("-1234", &[fixed(TimezoneOffsetColon)], parsed!(offset: -45_240)); in test_parse_fixed_timezone_offset()
1131 … check("−1234", &[fixed(TimezoneOffsetColon)], parsed!(offset: -45_240)); // MINUS SIGN (U+2212) in test_parse_fixed_timezone_offset()
1132 check("+12345", &[fixed(TimezoneOffsetColon)], Err(TOO_LONG)); in test_parse_fixed_timezone_offset()
1133 check("+123456", &[fixed(TimezoneOffsetColon)], Err(TOO_LONG)); in test_parse_fixed_timezone_offset()
1134 check("+1234567", &[fixed(TimezoneOffsetColon)], Err(TOO_LONG)); in test_parse_fixed_timezone_offset()
1135 check("+12345678", &[fixed(TimezoneOffsetColon)], Err(TOO_LONG)); in test_parse_fixed_timezone_offset()
1136 check("1:", &[fixed(TimezoneOffsetColon)], Err(INVALID)); in test_parse_fixed_timezone_offset()
1137 check("12:", &[fixed(TimezoneOffsetColon)], Err(INVALID)); in test_parse_fixed_timezone_offset()
1138 check("12:3", &[fixed(TimezoneOffsetColon)], Err(INVALID)); in test_parse_fixed_timezone_offset()
1139 check("12:34", &[fixed(TimezoneOffsetColon)], Err(INVALID)); in test_parse_fixed_timezone_offset()
1140 check("12:34:", &[fixed(TimezoneOffsetColon)], Err(INVALID)); in test_parse_fixed_timezone_offset()
1141 check("12:34:5", &[fixed(TimezoneOffsetColon)], Err(INVALID)); in test_parse_fixed_timezone_offset()
1142 check("12:34:56", &[fixed(TimezoneOffsetColon)], Err(INVALID)); in test_parse_fixed_timezone_offset()
1143 check("+1:", &[fixed(TimezoneOffsetColon)], Err(INVALID)); in test_parse_fixed_timezone_offset()
1144 check("+12:", &[fixed(TimezoneOffsetColon)], Err(TOO_SHORT)); in test_parse_fixed_timezone_offset()
1145 check("+12:3", &[fixed(TimezoneOffsetColon)], Err(TOO_SHORT)); in test_parse_fixed_timezone_offset()
1146 check("+12:34", &[fixed(TimezoneOffsetColon)], parsed!(offset: 45_240)); in test_parse_fixed_timezone_offset()
1147 check("-12:34", &[fixed(TimezoneOffsetColon)], parsed!(offset: -45_240)); in test_parse_fixed_timezone_offset()
1148 … check("−12:34", &[fixed(TimezoneOffsetColon)], parsed!(offset: -45_240)); // MINUS SIGN (U+2212) in test_parse_fixed_timezone_offset()
1149 check("+12:34:", &[fixed(TimezoneOffsetColon)], Err(TOO_LONG)); in test_parse_fixed_timezone_offset()
1150 check("+12:34:5", &[fixed(TimezoneOffsetColon)], Err(TOO_LONG)); in test_parse_fixed_timezone_offset()
1151 check("+12:34:56", &[fixed(TimezoneOffsetColon)], Err(TOO_LONG)); in test_parse_fixed_timezone_offset()
1152 check("+12:34:56:", &[fixed(TimezoneOffsetColon)], Err(TOO_LONG)); in test_parse_fixed_timezone_offset()
1153 check("+12:34:56:7", &[fixed(TimezoneOffsetColon)], Err(TOO_LONG)); in test_parse_fixed_timezone_offset()
1154 check("+12:34:56:78", &[fixed(TimezoneOffsetColon)], Err(TOO_LONG)); in test_parse_fixed_timezone_offset()
1155 check("+12:3456", &[fixed(TimezoneOffsetColon)], Err(TOO_LONG)); in test_parse_fixed_timezone_offset()
1156 check("+1234:56", &[fixed(TimezoneOffsetColon)], Err(TOO_LONG)); in test_parse_fixed_timezone_offset()
1157 … check("−12:34", &[fixed(TimezoneOffsetColon)], parsed!(offset: -45_240)); // MINUS SIGN (U+2212) in test_parse_fixed_timezone_offset()
1158 … check("−12 : 34", &[fixed(TimezoneOffsetColon)], parsed!(offset: -45_240)); // MINUS SIGN (U+2212) in test_parse_fixed_timezone_offset()
1159 check("+12 :34", &[fixed(TimezoneOffsetColon)], parsed!(offset: 45_240)); in test_parse_fixed_timezone_offset()
1160 check("+12: 34", &[fixed(TimezoneOffsetColon)], parsed!(offset: 45_240)); in test_parse_fixed_timezone_offset()
1161 check("+12 34", &[fixed(TimezoneOffsetColon)], parsed!(offset: 45_240)); in test_parse_fixed_timezone_offset()
1162 check("+12: 34", &[fixed(TimezoneOffsetColon)], parsed!(offset: 45_240)); in test_parse_fixed_timezone_offset()
1163 check("+12 :34", &[fixed(TimezoneOffsetColon)], parsed!(offset: 45_240)); in test_parse_fixed_timezone_offset()
1164 check("+12 : 34", &[fixed(TimezoneOffsetColon)], parsed!(offset: 45_240)); in test_parse_fixed_timezone_offset()
1165 check("-12 : 34", &[fixed(TimezoneOffsetColon)], parsed!(offset: -45_240)); in test_parse_fixed_timezone_offset()
1166 check("+12 : 34", &[fixed(TimezoneOffsetColon)], parsed!(offset: 45_240)); in test_parse_fixed_timezone_offset()
1167 check("+12 : 34", &[fixed(TimezoneOffsetColon)], parsed!(offset: 45_240)); in test_parse_fixed_timezone_offset()
1168 check("+12 : 34", &[fixed(TimezoneOffsetColon)], parsed!(offset: 45_240)); in test_parse_fixed_timezone_offset()
1169 check("+12::34", &[fixed(TimezoneOffsetColon)], parsed!(offset: 45_240)); in test_parse_fixed_timezone_offset()
1170 check("+12: :34", &[fixed(TimezoneOffsetColon)], parsed!(offset: 45_240)); in test_parse_fixed_timezone_offset()
1171 check("+12:::34", &[fixed(TimezoneOffsetColon)], parsed!(offset: 45_240)); in test_parse_fixed_timezone_offset()
1172 check("+12::::34", &[fixed(TimezoneOffsetColon)], parsed!(offset: 45_240)); in test_parse_fixed_timezone_offset()
1173 check("+12::34", &[fixed(TimezoneOffsetColon)], parsed!(offset: 45_240)); in test_parse_fixed_timezone_offset()
1174 check("#1234", &[fixed(TimezoneOffsetColon)], Err(INVALID)); in test_parse_fixed_timezone_offset()
1175 check("#12:34", &[fixed(TimezoneOffsetColon)], Err(INVALID)); in test_parse_fixed_timezone_offset()
1176 check("+12:34 ", &[fixed(TimezoneOffsetColon)], Err(TOO_LONG)); in test_parse_fixed_timezone_offset()
1177 check(" +12:34", &[fixed(TimezoneOffsetColon)], parsed!(offset: 45_240)); in test_parse_fixed_timezone_offset()
1178 check("\t+12:34", &[fixed(TimezoneOffsetColon)], parsed!(offset: 45_240)); in test_parse_fixed_timezone_offset()
1179 check("\t\t+12:34", &[fixed(TimezoneOffsetColon)], parsed!(offset: 45_240)); in test_parse_fixed_timezone_offset()
1180 check("12:34 ", &[fixed(TimezoneOffsetColon)], Err(INVALID)); in test_parse_fixed_timezone_offset()
1181 check(" 12:34", &[fixed(TimezoneOffsetColon)], Err(INVALID)); in test_parse_fixed_timezone_offset()
1182 check("", &[fixed(TimezoneOffsetColon)], Err(TOO_SHORT)); in test_parse_fixed_timezone_offset()
1183 check("+", &[fixed(TimezoneOffsetColon)], Err(TOO_SHORT)); in test_parse_fixed_timezone_offset()
1184 check(":", &[fixed(TimezoneOffsetColon)], Err(INVALID)); in test_parse_fixed_timezone_offset()
1187 &[fixed(TimezoneOffsetColon), num(Numeric::Day)], in test_parse_fixed_timezone_offset()
1192 &[fixed(TimezoneOffsetColon), num(Numeric::Day)], in test_parse_fixed_timezone_offset()
1195 check("+12:34:", &[fixed(TimezoneOffsetColon), Literal(":")], parsed!(offset: 45_240)); in test_parse_fixed_timezone_offset()
1196 check("Z", &[fixed(TimezoneOffsetColon)], Err(INVALID)); in test_parse_fixed_timezone_offset()
1197 check("A", &[fixed(TimezoneOffsetColon)], Err(INVALID)); in test_parse_fixed_timezone_offset()
1198 check("PST", &[fixed(TimezoneOffsetColon)], Err(INVALID)); in test_parse_fixed_timezone_offset()
1199 check("#Z", &[fixed(TimezoneOffsetColon)], Err(INVALID)); in test_parse_fixed_timezone_offset()
1200 check(":Z", &[fixed(TimezoneOffsetColon)], Err(INVALID)); in test_parse_fixed_timezone_offset()
1201 check("+Z", &[fixed(TimezoneOffsetColon)], Err(TOO_SHORT)); in test_parse_fixed_timezone_offset()
1202 check("+:Z", &[fixed(TimezoneOffsetColon)], Err(INVALID)); in test_parse_fixed_timezone_offset()
1203 check("+Z:", &[fixed(TimezoneOffsetColon)], Err(INVALID)); in test_parse_fixed_timezone_offset()
1204 check("z", &[fixed(TimezoneOffsetColon)], Err(INVALID)); in test_parse_fixed_timezone_offset()
1205 check(" :Z", &[fixed(TimezoneOffsetColon)], Err(INVALID)); in test_parse_fixed_timezone_offset()
1206 check(" Z", &[fixed(TimezoneOffsetColon)], Err(INVALID)); in test_parse_fixed_timezone_offset()
1207 check(" z", &[fixed(TimezoneOffsetColon)], Err(INVALID)); in test_parse_fixed_timezone_offset()
1214 check("1", &[fixed(TimezoneOffsetZ)], Err(INVALID)); in test_parse_fixed_timezone_offset()
1215 check("12", &[fixed(TimezoneOffsetZ)], Err(INVALID)); in test_parse_fixed_timezone_offset()
1216 check("123", &[fixed(TimezoneOffsetZ)], Err(INVALID)); in test_parse_fixed_timezone_offset()
1217 check("1234", &[fixed(TimezoneOffsetZ)], Err(INVALID)); in test_parse_fixed_timezone_offset()
1218 check("12345", &[fixed(TimezoneOffsetZ)], Err(INVALID)); in test_parse_fixed_timezone_offset()
1219 check("123456", &[fixed(TimezoneOffsetZ)], Err(INVALID)); in test_parse_fixed_timezone_offset()
1220 check("1234567", &[fixed(TimezoneOffsetZ)], Err(INVALID)); in test_parse_fixed_timezone_offset()
1221 check("12345678", &[fixed(TimezoneOffsetZ)], Err(INVALID)); in test_parse_fixed_timezone_offset()
1222 check("+1", &[fixed(TimezoneOffsetZ)], Err(TOO_SHORT)); in test_parse_fixed_timezone_offset()
1223 check("+12", &[fixed(TimezoneOffsetZ)], Err(TOO_SHORT)); in test_parse_fixed_timezone_offset()
1224 check("+123", &[fixed(TimezoneOffsetZ)], Err(TOO_SHORT)); in test_parse_fixed_timezone_offset()
1225 check("+1234", &[fixed(TimezoneOffsetZ)], parsed!(offset: 45_240)); in test_parse_fixed_timezone_offset()
1226 check("-1234", &[fixed(TimezoneOffsetZ)], parsed!(offset: -45_240)); in test_parse_fixed_timezone_offset()
1227 check("−1234", &[fixed(TimezoneOffsetZ)], parsed!(offset: -45_240)); // MINUS SIGN (U+2212) in test_parse_fixed_timezone_offset()
1228 check("+12345", &[fixed(TimezoneOffsetZ)], Err(TOO_LONG)); in test_parse_fixed_timezone_offset()
1229 check("+123456", &[fixed(TimezoneOffsetZ)], Err(TOO_LONG)); in test_parse_fixed_timezone_offset()
1230 check("+1234567", &[fixed(TimezoneOffsetZ)], Err(TOO_LONG)); in test_parse_fixed_timezone_offset()
1231 check("+12345678", &[fixed(TimezoneOffsetZ)], Err(TOO_LONG)); in test_parse_fixed_timezone_offset()
1232 check("1:", &[fixed(TimezoneOffsetZ)], Err(INVALID)); in test_parse_fixed_timezone_offset()
1233 check("12:", &[fixed(TimezoneOffsetZ)], Err(INVALID)); in test_parse_fixed_timezone_offset()
1234 check("12:3", &[fixed(TimezoneOffsetZ)], Err(INVALID)); in test_parse_fixed_timezone_offset()
1235 check("12:34", &[fixed(TimezoneOffsetZ)], Err(INVALID)); in test_parse_fixed_timezone_offset()
1236 check("12:34:", &[fixed(TimezoneOffsetZ)], Err(INVALID)); in test_parse_fixed_timezone_offset()
1237 check("12:34:5", &[fixed(TimezoneOffsetZ)], Err(INVALID)); in test_parse_fixed_timezone_offset()
1238 check("12:34:56", &[fixed(TimezoneOffsetZ)], Err(INVALID)); in test_parse_fixed_timezone_offset()
1239 check("+1:", &[fixed(TimezoneOffsetZ)], Err(INVALID)); in test_parse_fixed_timezone_offset()
1240 check("+12:", &[fixed(TimezoneOffsetZ)], Err(TOO_SHORT)); in test_parse_fixed_timezone_offset()
1241 check("+12:3", &[fixed(TimezoneOffsetZ)], Err(TOO_SHORT)); in test_parse_fixed_timezone_offset()
1242 check("+12:34", &[fixed(TimezoneOffsetZ)], parsed!(offset: 45_240)); in test_parse_fixed_timezone_offset()
1243 check("-12:34", &[fixed(TimezoneOffsetZ)], parsed!(offset: -45_240)); in test_parse_fixed_timezone_offset()
1244 check("−12:34", &[fixed(TimezoneOffsetZ)], parsed!(offset: -45_240)); // MINUS SIGN (U+2212) in test_parse_fixed_timezone_offset()
1245 check("+12:34:", &[fixed(TimezoneOffsetZ)], Err(TOO_LONG)); in test_parse_fixed_timezone_offset()
1246 check("+12:34:5", &[fixed(TimezoneOffsetZ)], Err(TOO_LONG)); in test_parse_fixed_timezone_offset()
1247 check("+12:34:56", &[fixed(TimezoneOffsetZ)], Err(TOO_LONG)); in test_parse_fixed_timezone_offset()
1248 check("+12:34:56:", &[fixed(TimezoneOffsetZ)], Err(TOO_LONG)); in test_parse_fixed_timezone_offset()
1249 check("+12:34:56:7", &[fixed(TimezoneOffsetZ)], Err(TOO_LONG)); in test_parse_fixed_timezone_offset()
1250 check("+12:34:56:78", &[fixed(TimezoneOffsetZ)], Err(TOO_LONG)); in test_parse_fixed_timezone_offset()
1251 check("+12::34", &[fixed(TimezoneOffsetZ)], parsed!(offset: 45_240)); in test_parse_fixed_timezone_offset()
1252 check("+12:3456", &[fixed(TimezoneOffsetZ)], Err(TOO_LONG)); in test_parse_fixed_timezone_offset()
1253 check("+1234:56", &[fixed(TimezoneOffsetZ)], Err(TOO_LONG)); in test_parse_fixed_timezone_offset()
1254 check("+12 34", &[fixed(TimezoneOffsetZ)], parsed!(offset: 45_240)); in test_parse_fixed_timezone_offset()
1255 check("+12 34", &[fixed(TimezoneOffsetZ)], parsed!(offset: 45_240)); in test_parse_fixed_timezone_offset()
1256 check("+12: 34", &[fixed(TimezoneOffsetZ)], parsed!(offset: 45_240)); in test_parse_fixed_timezone_offset()
1257 check("+12 :34", &[fixed(TimezoneOffsetZ)], parsed!(offset: 45_240)); in test_parse_fixed_timezone_offset()
1258 check("+12 : 34", &[fixed(TimezoneOffsetZ)], parsed!(offset: 45_240)); in test_parse_fixed_timezone_offset()
1259 check("+12 : 34", &[fixed(TimezoneOffsetZ)], parsed!(offset: 45_240)); in test_parse_fixed_timezone_offset()
1260 check("+12 : 34", &[fixed(TimezoneOffsetZ)], parsed!(offset: 45_240)); in test_parse_fixed_timezone_offset()
1261 check("+12 : 34", &[fixed(TimezoneOffsetZ)], parsed!(offset: 45_240)); in test_parse_fixed_timezone_offset()
1262 check("12:34 ", &[fixed(TimezoneOffsetZ)], Err(INVALID)); in test_parse_fixed_timezone_offset()
1263 check(" 12:34", &[fixed(TimezoneOffsetZ)], Err(INVALID)); in test_parse_fixed_timezone_offset()
1264 check("+12:34 ", &[fixed(TimezoneOffsetZ)], Err(TOO_LONG)); in test_parse_fixed_timezone_offset()
1265 check("+12 34 ", &[fixed(TimezoneOffsetZ)], Err(TOO_LONG)); in test_parse_fixed_timezone_offset()
1266 check(" +12:34", &[fixed(TimezoneOffsetZ)], parsed!(offset: 45_240)); in test_parse_fixed_timezone_offset()
1269 &[fixed(TimezoneOffsetZ), num(Numeric::Day)], in test_parse_fixed_timezone_offset()
1274 &[fixed(TimezoneOffsetZ), num(Numeric::Day)], in test_parse_fixed_timezone_offset()
1277 check("+12:34:", &[fixed(TimezoneOffsetZ), Literal(":")], parsed!(offset: 45_240)); in test_parse_fixed_timezone_offset()
1278 check("Z12:34", &[fixed(TimezoneOffsetZ)], Err(TOO_LONG)); in test_parse_fixed_timezone_offset()
1279 check("X12:34", &[fixed(TimezoneOffsetZ)], Err(INVALID)); in test_parse_fixed_timezone_offset()
1280 check("Z", &[fixed(TimezoneOffsetZ)], parsed!(offset: 0)); in test_parse_fixed_timezone_offset()
1281 check("z", &[fixed(TimezoneOffsetZ)], parsed!(offset: 0)); in test_parse_fixed_timezone_offset()
1282 check(" Z", &[fixed(TimezoneOffsetZ)], parsed!(offset: 0)); in test_parse_fixed_timezone_offset()
1283 check(" z", &[fixed(TimezoneOffsetZ)], parsed!(offset: 0)); in test_parse_fixed_timezone_offset()
1284 check("\u{0363}Z", &[fixed(TimezoneOffsetZ)], Err(INVALID)); in test_parse_fixed_timezone_offset()
1285 check("Z ", &[fixed(TimezoneOffsetZ)], Err(TOO_LONG)); in test_parse_fixed_timezone_offset()
1286 check("A", &[fixed(TimezoneOffsetZ)], Err(INVALID)); in test_parse_fixed_timezone_offset()
1287 check("PST", &[fixed(TimezoneOffsetZ)], Err(INVALID)); in test_parse_fixed_timezone_offset()
1288 check("#Z", &[fixed(TimezoneOffsetZ)], Err(INVALID)); in test_parse_fixed_timezone_offset()
1289 check(":Z", &[fixed(TimezoneOffsetZ)], Err(INVALID)); in test_parse_fixed_timezone_offset()
1290 check(":z", &[fixed(TimezoneOffsetZ)], Err(INVALID)); in test_parse_fixed_timezone_offset()
1291 check("+Z", &[fixed(TimezoneOffsetZ)], Err(TOO_SHORT)); in test_parse_fixed_timezone_offset()
1292 check("-Z", &[fixed(TimezoneOffsetZ)], Err(TOO_SHORT)); in test_parse_fixed_timezone_offset()
1293 check("+A", &[fixed(TimezoneOffsetZ)], Err(TOO_SHORT)); in test_parse_fixed_timezone_offset()
1294 check("+", &[fixed(TimezoneOffsetZ)], Err(INVALID)); in test_parse_fixed_timezone_offset()
1295 check("+Z:", &[fixed(TimezoneOffsetZ)], Err(INVALID)); in test_parse_fixed_timezone_offset()
1296 check(" :Z", &[fixed(TimezoneOffsetZ)], Err(INVALID)); in test_parse_fixed_timezone_offset()
1297 check(" +Z", &[fixed(TimezoneOffsetZ)], Err(TOO_SHORT)); in test_parse_fixed_timezone_offset()
1298 check(" -Z", &[fixed(TimezoneOffsetZ)], Err(TOO_SHORT)); in test_parse_fixed_timezone_offset()
1299 check("+:Z", &[fixed(TimezoneOffsetZ)], Err(INVALID)); in test_parse_fixed_timezone_offset()
1300 check("Y", &[fixed(TimezoneOffsetZ)], Err(INVALID)); in test_parse_fixed_timezone_offset()
1301 check("Zulu", &[fixed(TimezoneOffsetZ), Literal("ulu")], parsed!(offset: 0)); in test_parse_fixed_timezone_offset()
1302 check("zulu", &[fixed(TimezoneOffsetZ), Literal("ulu")], parsed!(offset: 0)); in test_parse_fixed_timezone_offset()
1303 check("+1234ulu", &[fixed(TimezoneOffsetZ), Literal("ulu")], parsed!(offset: 45_240)); in test_parse_fixed_timezone_offset()
1304 check("+12:34ulu", &[fixed(TimezoneOffsetZ), Literal("ulu")], parsed!(offset: 45_240)); in test_parse_fixed_timezone_offset()
1421 check("CEST", &[fixed(TimezoneName)], parsed!()); in test_parse_fixed_timezone_offset()
1422 check("cest", &[fixed(TimezoneName)], parsed!()); // lowercase in test_parse_fixed_timezone_offset()
1423 check("XXXXXXXX", &[fixed(TimezoneName)], parsed!()); // not a real timezone name in test_parse_fixed_timezone_offset()
1424 check("!!!!", &[fixed(TimezoneName)], parsed!()); // not a real timezone name! in test_parse_fixed_timezone_offset()
1425 check("CEST 5", &[fixed(TimezoneName), Literal(" "), num(Numeric::Day)], parsed!(day: 5)); in test_parse_fixed_timezone_offset()
1426 check("CEST ", &[fixed(TimezoneName)], Err(TOO_LONG)); in test_parse_fixed_timezone_offset()
1427 check(" CEST", &[fixed(TimezoneName)], Err(TOO_LONG)); in test_parse_fixed_timezone_offset()
1428 check("CE ST", &[fixed(TimezoneName)], Err(TOO_LONG)); in test_parse_fixed_timezone_offset()
1444 fixed(Fixed::TimezoneOffset), in test_parse_practical_examples()
1456 fixed(Fixed::TimezoneOffset), in test_parse_practical_examples()
1468 fixed(Fixed::TimezoneOffset) in test_parse_practical_examples()
1489 fixed(Fixed::ShortWeekdayName), Literal(","), Space(" "), num(Day), Space(" "), in test_parse_practical_examples()
1490 fixed(Fixed::ShortMonthName), Space(" "), num(Year), Space(" "), num(Hour), in test_parse_practical_examples()
1501 Literal(""), fixed(Fixed::ShortWeekdayName), Literal(","), Space(" "), num(Day), in test_parse_practical_examples()
1502 Space(" "), fixed(Fixed::ShortMonthName), Literal(""), num(Year), Space(" "), in test_parse_practical_examples()
1514 fixed(Fixed::ShortWeekdayName), Space(" "), fixed(Fixed::ShortMonthName), in test_parse_practical_examples()
1516 Literal(":"), num(Second), Space(" "), fixed(Fixed::TimezoneName), Space(" "), in test_parse_practical_examples()
1533 &[num(Hour12), Literal(":"), num(Minute), fixed(Fixed::LowerAmPm)], in test_parse_practical_examples()
1543 &[num(Timestamp), fixed(Fixed::Nanosecond)], in test_parse_practical_examples()
1664 parse(&mut parsed, date, [Item::Fixed(Fixed::RFC2822)].iter())?; in test_rfc2822()