Lines Matching refs:tzstr
923 # the tzstr in the footer, so up to the footer, the files are
935 def zone_from_tzstr(self, tzstr):
942 zonefile.write(tzstr.encode("ascii"))
947 return self.klass.from_file(zonefile, key=tzstr)
950 for tzstr, cases in self.test_cases.items():
951 with self.subTest(tzstr=tzstr):
952 zi = self.zone_from_tzstr(tzstr)
957 with self.subTest(tzstr=tzstr, dt=dt, offset=offset):
963 for tzstr, cases in self.test_cases.items():
964 with self.subTest(tzstr=tzstr):
965 zi = self.zone_from_tzstr(tzstr)
1030 with self.subTest(tzstr=invalid_tzstr):
1040 # test cases for each tzstr by using a decorator to automatically call
1071 tzstr = "EST5EDT,M3.2.0/4:00,M11.1.0/3:00"
1076 cases[tzstr] = (
1099 tzstr = "GMT0BST-1,M3.5.0/1:00,M10.5.0/2:00"
1104 cases[tzstr] = (
1122 tzstr = "AEST-10AEDT,M10.1.0/2,M4.1.0/3"
1127 cases[tzstr] = (
1147 tzstr = "IST-1GMT0,M10.5.0,M3.5.0/1"
1152 cases[tzstr] = (
1171 tzstr = "<+11>-11"
1173 cases[tzstr] = (
1184 tzstr = "<-04>4<-03>,M9.1.6/24,M4.1.6/24"
1189 cases[tzstr] = (
1198 tzstr = "EST5EDT,0/0,J365/25"
1202 cases[tzstr] = (
1218 tzstr = "AAA3BBB,J60/12,J305/12"
1223 cases[tzstr] = (
1254 tzstr = "<-03>3<-02>,M3.5.0/-2,M10.5.0/-1"
1259 cases[tzstr] = (
1274 tzstr = "AAA3BBB,M3.2.0/01:30,M11.1.0/02:15:45"
1279 cases[tzstr] = (