Lines Matching refs:tzstr
1265 tzstr examples
1275 daylight abbreviation was provided, `tzstr` will follow the
1290 .. testsetup:: tzstr
1295 from dateutil.tz import tzstr
1297 .. doctest:: tzstr
1309 And here is an example showing the same information using `tzstr`,
1312 .. doctest:: tzstr
1314 >>> tz1 = tzstr('EST+05EDT,M4.1.0,M10.5.0')
1315 >>> tz2 = tzstr('AEST-10AEDT-11,M10.5.0,M3.5.0')
1325 .. doctest:: tzstr
1327 >>> tzstr('EST5EDT') == tzstr('EST5EDT,M4.1.0,M10.5.0')
1333 .. doctest:: tzstr
1335 >>> tz = tzstr('EST+05EDT,M4.1.0,M10.5.0')
1351 from dateutil.tz import tzrange, tzstr
1355 >>> tzstr('EST5EDT') == tzrange("EST", -18000, "EDT")
1365 >>> tzstr('EST5EDT') == range1 == range2